# Unhandled exception when Render to Texture

**URL:** <https://forums.chaos.com/t/unhandled-exception-when-render-to-texture/90133>\
**Category:** Issues\
**Created:** [August 9, 2018, 10:58pm UTC](https://forums.chaos.com/t/unhandled-exception-when-render-to-texture/90133 "2018-08-09T22:58:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![marksmanguy](https://avatars.discourse-cdn.com/v4/letter/m/ee7513/32.png) [@marksmanguy](https://forums.chaos.com/u/marksmanguy)\
**Post date:** [August 9, 2018, 10:58pm UTC](https://forums.chaos.com/t/unhandled-exception-when-render-to-texture/90133/1 "2018-08-09T22:58:12Z")

</div>

Hi, I have been trying to “render to texture” and keep getting this error. Can someone point me in the right direction? Thanks a lot.

 ![.jpg.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/a/1/a10bbd30bcc5430bb52a799bf4b0b15374b2b341.jpeg)

---

<div class="post-metadata">

**Author:** ![marksmanguy](https://avatars.discourse-cdn.com/v4/letter/m/ee7513/32.png) [@marksmanguy](https://forums.chaos.com/u/marksmanguy)\
**Post date:** [August 9, 2018, 11:09pm UTC](https://forums.chaos.com/t/unhandled-exception-when-render-to-texture/90133/2 "2018-08-09T23:09:40Z")

</div>

Here is the Vraylog text file as well.

Thanks in advance  
[vraylog.txt](https://forums.chaos.com/uploads/short-url/cVNG1zGj7LK6LJhQTNnH2tYbOHJ.txt) (92.9 KB)

---

<div class="post-metadata">

**Author:** ![\_Lele](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/_lele/32/49986_2.png) [@\_Lele](https://forums.chaos.com/u/_Lele)\
**Post date:** [August 10, 2018, 7:28am UTC](https://forums.chaos.com/t/unhandled-exception-when-render-to-texture/90133/3 "2018-08-10T07:28:41Z")

</div>

[2018/Aug/9|20:05:03] warning: V-Ray VFB is enabled but no save option is selected - baked textures will be lost.  
[2018/Aug/9|20:05:03] warning: Please select a VFB output option or use the 3dsmax VFB.  
[…]  
[2018/Aug/9|20:05:05] Tracing 250000 image samples for light cache in 64 passes.  
[…]  
[2018/Aug/9|20:05:07] Light cache contains 23 samples.  
[…]  
[2018/Aug/9|20:05:07] error: UNHANDLED EXCEPTION: Rendering region (992,1024)-(1024,1056)

Something may be wrong in your setup.  
Have you tried resetting the render settings?  
Does it render fine if you do not render a region?

---

<div class="post-metadata">

**Author:** ![samuel\_bubat](https://avatars.discourse-cdn.com/v4/letter/s/9f8e36/32.png) [@samuel\_bubat](https://forums.chaos.com/u/samuel_bubat)\
**Post date:** [August 10, 2018, 8:48am UTC](https://forums.chaos.com/t/unhandled-exception-when-render-to-texture/90133/4 "2018-08-10T08:48:02Z")

</div>

Could it be that you used max default maps instead of the Vray ones. Like “Complete Map” instead of “VrayCompleteMap”. This usually causes unhandled exceptions when baking textures.

---

<div class="post-metadata">

**Author:** ![M.Max](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/m.max/32/26870_2.png) [@M.Max](https://forums.chaos.com/u/M.Max)\
**Post date:** [August 11, 2018, 5:16pm UTC](https://forums.chaos.com/t/unhandled-exception-when-render-to-texture/90133/5 "2018-08-11T17:16:56Z")

</div>

> [@samuel\_bubat](#):
>
> Could it be that you used max default maps instead of the Vray ones. Like “Complete Map” instead of “VrayCompleteMap”. This usually causes unhandled exceptions when baking textures.

I do this mistake almost every time I need to bake textures (1-2 times per year ) it would be great if Vray can hide these incompatible maps .

---

<div class="post-metadata">

**Author:** ![marksmanguy](https://avatars.discourse-cdn.com/v4/letter/m/ee7513/32.png) [@marksmanguy](https://forums.chaos.com/u/marksmanguy)\
**Post date:** [August 16, 2018, 7:08pm UTC](https://forums.chaos.com/t/unhandled-exception-when-render-to-texture/90133/6 "2018-08-16T19:08:37Z")

</div>

Wanted to say thanks a lot for the advice. I didn’t have time to troubleshoot more but will get back to it.
