# Exit code 0 after V-Ray error

**URL:** <https://forums.chaos.com/t/exit-code-0-after-v-ray-error/39752>\
**Category:** Issues\
**Created:** [December 21, 2011, 1:44pm UTC](https://forums.chaos.com/t/exit-code-0-after-v-ray-error/39752 "2011-12-21T13:44:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![GoodbyeKansas](https://avatars.discourse-cdn.com/v4/letter/g/f4b2a3/32.png) [@GoodbyeKansas](https://forums.chaos.com/u/GoodbyeKansas)\
**Post date:** [December 21, 2011, 1:44pm UTC](https://forums.chaos.com/t/exit-code-0-after-v-ray-error/39752/1 "2011-12-21T13:44:59Z")

</div>

Maya version: Maya 2011 x64 Subscription Advantage Pack, Cut Number 201009100611  
V-Ray version: V-Ray for Maya version 2.00.04 from Apr 28 2011, 02:23:27. V-Ray: V-Ray core version is 2.00.01

```auto
V-Ray: Starting render
[2011/Dec/21|14:26:49] V-Ray: Loading plugins from "/usr/autodesk/maya2011.5-x64/vray/vrayplugins/libvray_*.so"
[2011/Dec/21|14:26:51] V-Ray: 101 plugin(s) loaded successfully
[2011/Dec/21|14:26:51] V-Ray: Finished loading plugins.
[2011/Dec/21|14:26:51] V-Ray: Exporting scene to V-Ray.
[2011/Dec/21|14:26:51] V-Ray: Parsing light links time 0h 0m 0.0s (0.0 s)
[2011/Dec/21|14:26:51] V-Ray: Translating scene geometry for V-Ray
[2011/Dec/21|14:26:51] V-Ray: (Estimated time remaining: 0h 0m 0.0s): 80 % completed
[2011/Dec/21|14:26:51] V-Ray: Total time translating scene for V-Ray 0h 0m 0.2s (0.2 s)
[2011/Dec/21|14:26:51] V-Ray: Rendering.
[2011/Dec/21|14:26:51] V-Ray: Pre-render export.
[2011/Dec/21|14:26:51] V-Ray: Pre-render export
[2011/Dec/21|14:26:53] V-Ray: Pre-render export done.
[2011/Dec/21|14:26:53] V-Ray: Rendering frames.
[2011/Dec/21|14:26:53] V-Ray: Updating frame at time 1017.00
[2011/Dec/21|14:26:53] V-Ray: Total time updating frame 0h 0m 0.0s (0.0 s)
[2011/Dec/21|14:26:53] V-Ray: Updating frame at time 1017.25
[2011/Dec/21|14:26:53] V-Ray: Total time updating frame 0h 0m 0.0s (0.0 s)
[2011/Dec/21|14:26:53] V-Ray: Updating frame at time 1017.75
[2011/Dec/21|14:26:53] V-Ray: Total time updating frame 0h 0m 0.0s (0.0 s)
[2011/Dec/21|14:26:53] V-Ray: Preparing renderer...
[2011/Dec/21|14:26:53] V-Ray: Preparing scene for rendering...
[2011/Dec/21|14:26:53] V-Ray: Preparing scene for frame...
[2011/Dec/21|14:26:53] V-Ray: (Estimated time remaining: 0h 0m 0.0s): 21 % completed
[2011/Dec/21|14:26:54] V-Ray: Bitmap file "/flock/proj/kontiki/shottree/095/060/3d/maya/textures/SKIESV2_08ST3_060_v001.hdr" loaded.
[2011/Dec/21|14:26:55] V-Ray error: There was a fatal error rendering the scene.
Error: There was a fatal error rendering the scene.
[2011/Dec/21|14:26:55] V-Ray: Render complete
[2011/Dec/21|14:26:55] V-Ray: ========================
[2011/Dec/21|14:26:55] V-Ray: Clearing exporter memory...
[2011/Dec/21|14:26:55] V-Ray: Total time clearing exporter memory 0h 0m 0.0s (0.0 s)

```

This render exits with a 0.

Best regards  
Thomas

---

<div class="post-metadata">

**Author:** ![vlado](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@vlado](https://forums.chaos.com/u/vlado)\
**Post date:** [December 21, 2011, 4:02pm UTC](https://forums.chaos.com/t/exit-code-0-after-v-ray-error/39752/2 "2011-12-21T16:02:58Z")

</div>

Thanks for the pointer; I thought we always set the exit code on error for batch mode, but I’ll check again.

Best regards,  
Vlado

---

<div class="post-metadata">

**Author:** ![alexitoland](https://avatars.discourse-cdn.com/v4/letter/a/2bfe46/32.png) [@alexitoland](https://forums.chaos.com/u/alexitoland)\
**Post date:** [December 30, 2011, 12:08pm UTC](https://forums.chaos.com/t/exit-code-0-after-v-ray-error/39752/3 "2011-12-30T12:08:56Z")

</div>

> [@Post your Simple Render here.](https://forums.chaos.com/t/post-your-simple-render-here/32099/808):
>
> Maya version: Maya 2011 x64 Subscription Advantage Pack, Cut Number 201009100611  
> V-Ray version: V-Ray for Maya version 2.00.04 from Apr 28 2011, 02:23:27. V-Ray: V-Ray core version is 2.00.01
> 
> ```auto
> V-Ray: Starting render
> [2011/Dec/21|14:26:49] V-Ray: Loading plugins from "/usr/autodesk/maya2011.5-x64/vray/vrayplugins/libvray_*.so"
> [2011/Dec/21|14:26:51] V-Ray: 101 plugin(s) loaded successfully
> [2011/Dec/21|14:26:51] V-Ray: Finished loading plugins.
> [2011/Dec/21|14:26:51] V-Ray: Exporting scene to V-Ray.
> [2011/Dec/21|14:26:51] V-Ray: Parsing light links time 0h 0m 0.0s (0.0 s)
> [2011/Dec/21|14:26:51] V-Ray: Translating scene geometry for V-Ray
> [2011/Dec/21|14:26:51] V-Ray: (Estimated time remaining: 0h 0m 0.0s): 80 % completed
> [2011/Dec/21|14:26:51] V-Ray: Total time translating scene for V-Ray 0h 0m 0.2s (0.2 s)
> [2011/Dec/21|14:26:51] V-Ray: Rendering.
> [2011/Dec/21|14:26:51] V-Ray: Pre-render export.
> [2011/Dec/21|14:26:51] V-Ray: Pre-render export
> [2011/Dec/21|14:26:53] V-Ray: Pre-render export done.
> [2011/Dec/21|14:26:53] V-Ray: Rendering frames.
> [2011/Dec/21|14:26:53] V-Ray: Updating frame at time 1017.00
> [2011/Dec/21|14:26:53] V-Ray: Total time updating frame 0h 0m 0.0s (0.0 s)
> [2011/Dec/21|14:26:53] V-Ray: Updating frame at time 1017.25
> [2011/Dec/21|14:26:53] V-Ray: Total time updating frame 0h 0m 0.0s (0.0 s)
> [2011/Dec/21|14:26:53] V-Ray: Updating frame at time 1017.75
> [2011/Dec/21|14:26:53] V-Ray: Total time updating frame 0h 0m 0.0s (0.0 s)
> [2011/Dec/21|14:26:53] V-Ray: Preparing renderer...
> [2011/Dec/21|14:26:53] V-Ray: Preparing scene for rendering...
> [2011/Dec/21|14:26:53] V-Ray: Preparing scene for frame...
> [2011/Dec/21|14:26:53] V-Ray: (Estimated time remaining: 0h 0m 0.0s): 21 % completed
> [2011/Dec/21|14:26:54] V-Ray: Bitmap file "/flock/proj/kontiki/shottree/095/060/3d/maya/textures/SKIESV2_08ST3_060_v001.hdr" loaded.
> [2011/Dec/21|14:26:55] V-Ray error: There was a fatal error rendering the scene.
> Error: There was a fatal error rendering the scene.
> [2011/Dec/21|14:26:55] V-Ray: Render complete
> [2011/Dec/21|14:26:55] V-Ray: ========================
> [2011/Dec/21|14:26:55] V-Ray: Clearing exporter memory...
> [2011/Dec/21|14:26:55] V-Ray: Total time clearing exporter memory 0h 0m 0.0s (0.0 s)
> 
> ```
> 
> This render exits with a 0.
> 
> Best regards  
> Thomas

Hi Vlado,  
got same exact error many times with random scenes no way to reproduce. They only way to fix this is going to a previous version of the scene or create a fresh one a re-import things.  
I know you have been asked this 1000 times but when an big update is coming for Vray2 Maya ?

Thanks,  
Alex.

---

<div class="post-metadata">

**Author:** ![alexitoland](https://avatars.discourse-cdn.com/v4/letter/a/2bfe46/32.png) [@alexitoland](https://forums.chaos.com/u/alexitoland)\
**Post date:** [December 30, 2011, 12:17pm UTC](https://forums.chaos.com/t/exit-code-0-after-v-ray-error/39752/4 "2011-12-30T12:17:12Z")

</div>

> [@COMPLETE RENDER PROCESS TUTORIAL](https://forums.chaos.com/t/complete-render-process-tutorial/36557/66):
>
> Hi Vlado,  
> got same exact error many times with random scenes no way to reproduce. They only way to fix this is going to a previous version of the scene or create a fresh one a re-import things.  
> I know you have been asked this 1000 times but when an big update is coming for Vray2 Maya ?
> 
> Thanks,  
> Alex.

Me ,again I hope this is heplful these are the main 3 areas that we got lots for problems:

1- Fatal errors like the one posted.  
2- Vray RT CPU , we don use GPU crashes constantly on any production scene, its almost impossible to work with it at all which is a huge disadvantage,  
3 - Vray FBV disappears again randomly.

This is a result of using Vrat v2.004 with latest Maya 2012 on several brand new Win7 24cores 24GB machines with Quadro 4000.  
Thanks,  
Alex.

---

<div class="post-metadata">

**Author:** ![vlado](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@vlado](https://forums.chaos.com/u/vlado)\
**Post date:** [January 5, 2012, 8:13pm UTC](https://forums.chaos.com/t/exit-code-0-after-v-ray-error/39752/5 "2012-01-05T20:13:20Z")

</div>

Can you check this again with the latest nightly builds? If you don’t have access to the nightlies, you can email us to [vraymaya@chaosgroup.com](mailto:vraymaya@chaosgroup.com) It would also be very helpful if you can get us a crashing scene.

Best regards,  
Vlado
