Chaos Corona Forum

Chaos Corona for Cinema 4D => [C4D] Bug Reporting => [C4D] Resolved Bugs => Topic started by: TomG on 2017-10-09, 22:04:19

Title: Crash with ShadowCatcher and repeat rendering
Post by: TomG on 2017-10-09, 22:04:19
Hi all!

Don't think I've seen this reported.

I can't pin down exact steps, but when I've been working with a scene with the Shadowcatcher in it, I am getting very regular crashes that happen when I render for something more than the 1st time. Sometimes it's the 4th time, sometimes the 8th time. The 1st time always seems to render fine. It seems to be related to having changed something in the Shadowcatcher material, and maybe also related to having the Shadowcatcher material open for editing.

Doesn't seem to matter if the Shadowcatcher is in Environment or Backplate mode. In both cases I've been using a Corona Light Material in the Shadowcatcher's slot.

The scene is basic, plane for the shadowcatcher, then a simple bench object, though had the same crashes with a more complex car object too. Bug report text is attached in case it is helpful.

C4D R19, and C4D R18 (bug report is from R19), Corona Oct 9th build.

Thanks!
   Tom
Title: Re: Crash with ShadowCatcher and repeat rendering
Post by: houska on 2017-10-10, 12:59:59
Hi Tom! I cannot reproduce this...

Or to be more precise, I DID reproduce some crashes, but they were related to the scene environment shader not being deinitialized properly. When I merged a fix from Ales, it doesn't crash anymore. I'd suggest to wait for the next daily and test it there.
Title: Re: Crash with ShadowCatcher and repeat rendering
Post by: TomG on 2017-10-10, 13:40:15
TY! I will be sure to test :)
Title: Re: Crash with ShadowCatcher and repeat rendering
Post by: TomG on 2017-10-12, 21:39:13
This seems to be fixed, ty!
Title: Re: Crash with ShadowCatcher and repeat rendering
Post by: ihabkal on 2018-05-08, 18:06:39
Latest built random crashes rendering an animation with shadow catcher material. Same scenes renders fine without that material.