Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Daily Builds => Topic started by: JoeS on 2021-03-30, 12:17:08

Title: Crash using the AO map as a mask for a layered material.
Post by: JoeS on 2021-03-30, 12:17:08
Not sure what this is but I have a basic layered material setup. I am using the AO map as a mask for a layered material and during rendering I get a complete max crash back to desktop. I can use the interactive render fine no crashes but when I do a final render it crashes during the rendering process. I tested the scene with a basic metal material works fine renders to the end and when I use an AO map as a diffuse renders fine. I also remerged my assets into a new scene still crashes. I updated my corona 7 daily build same crash. My system is only using 18gig of ram during the rendering stage.

My system is a threadripper 3990x, 128ram, win10, 1080ti gpu, Max 2020, corona-7-3dsmax-daily-2021-03-22

Update " Remade the material using the legacy shader worked fine" Must be a bug with the new physical shader.
Title: Re: Crash using the AO map as a mask for a layered material.
Post by: rowmanns on 2021-03-30, 13:10:15
Hi,

Can you either share this material or a screenshot of the material setup please?

Cheers,

Rowan
Title: Re: Crash using the AO map as a mask for a layered material.
Post by: JoeS on 2021-03-30, 13:34:49
Hi,

Can you either share this material or a screenshot of the material setup please?

Cheers,

Rowan

I attached a snap of the material after reverting back to the legacy material.
Title: Re: Crash using the AO map as a mask for a layered material.
Post by: JoeS on 2021-04-14, 11:59:07
After working on new projects looks like any layered material with the new Physical material crashes max to desktop during rendering.
Title: Re: Crash using the AO map as a mask for a layered material.
Post by: GeorgeK on 2021-04-15, 09:57:44
After working on new projects looks like any layered material with the new Physical material crashes max to desktop during rendering.

Is it possible for you to share a 3dsmax minidump with us? Also which version of Corona Renderer DB you are currently using?
Title: Re: Crash using the AO map as a mask for a layered material.
Post by: JoeS on 2021-04-17, 03:32:33
Yes I can but you would have to send me an email address. My daily build is version corona-7-3dsmax-daily-2021-03-30. But I have had the same problem with the last three builds. It works fine with the legacy material.
Title: Re: Crash using the AO map as a mask for a layered material.
Post by: GeorgeK on 2021-04-17, 20:52:03
Yes I can but you would have to send me an email address. My daily build is version corona-7-3dsmax-daily-2021-03-30. But I have had the same problem with the last three builds. It works fine with the legacy material.

Thanks, feel free to submit a ticket through the link on my footer, or simply you can PM me the minidump here in the forums.
Title: Re: Crash using the AO map as a mask for a layered material.
Post by: Joad on 2021-04-21, 23:21:46
I think this might be the same issue I am having, but I have many layered materials with AO, not just one. I can render for 30-60 minutes before it crashes, sometimes it even finishes rendering with no crash. Updated my daily build, restarted my PC, merged into a new scene, but it still crashes. I am currently half way through a render, so I will see if this one crashes too.

Edit: The render didn't crash, but the next one did.
Title: Re: Crash using the AO map as a mask for a layered material.
Post by: JoeS on 2021-04-23, 01:38:54
I think this might be the same issue I am having, but I have many layered materials with AO, not just one. I can render for 30-60 minutes before it crashes, sometimes it even finishes rendering with no crash. Updated my daily build, restarted my PC, merged into a new scene, but it still crashes. I am currently half way through a render, so I will see if this one crashes too.

Edit: The render didn't crash, but the next one did.

Yeah I have found it crashes when only using a jpg black and white mask in a layered material. I think it's an issue with the new physical material. If I use the legacy materials I don't have an issue. Joad you should try using Legacy materials and see if it works.
Title: Re: Crash using the AO map as a mask for a layered material.
Post by: GeorgeK on 2021-04-23, 12:00:26
I think this might be the same issue I am having, but I have many layered materials with AO, not just one. I can render for 30-60 minutes before it crashes, sometimes it even finishes rendering with no crash. Updated my daily build, restarted my PC, merged into a new scene, but it still crashes. I am currently half way through a render, so I will see if this one crashes too.

Edit: The render didn't crash, but the next one did.

Yeah I have found it crashes when only using a jpg black and white mask in a layered material. I think it's an issue with the new physical material. If I use the legacy materials I don't have an issue. Joad you should try using Legacy materials and see if it works.

I cannot reproduce any crashes with any b&w .jpg mask for layered mtl + physicalmtl, so it is highly likely a different variable. Can you please isolate the trigger and archive your scene in order for us to investigate? If the file is larger than 256MB please consider the dropbox option. You can use our private uploader here: https://corona-renderer.com/upload
Title: Re: Crash using the AO map as a mask for a layered material.
Post by: JoeS on 2021-04-24, 05:01:03
I think this might be the same issue I am having, but I have many layered materials with AO, not just one. I can render for 30-60 minutes before it crashes, sometimes it even finishes rendering with no crash. Updated my daily build, restarted my PC, merged into a new scene, but it still crashes. I am currently half way through a render, so I will see if this one crashes too.

Edit: The render didn't crash, but the next one did.

Yeah I have found it crashes when only using a jpg black and white mask in a layered material. I think it's an issue with the new physical material. If I use the legacy materials I don't have an issue. Joad you should try using Legacy materials and see if it works.

I cannot reproduce any crashes with any b&w .jpg mask for layered mtl + physicalmtl, so it is highly likely a different variable. Can you please isolate the trigger and archive your scene in order for us to investigate? If the file is larger than 256MB please consider the dropbox option. You can use our private uploader here: https://corona-renderer.com/upload

GeorgeK I tried to submit a ticket but for what ever reason the Captcha verification kept failing ? So I sent you a DM with a link.
Title: Re: Crash using the AO map as a mask for a layered material.
Post by: GeorgeK on 2021-04-27, 09:57:37
(Report ID=CRMAX-510)
Title: Re: Crash using the AO map as a mask for a layered material.
Post by: GeorgeK on 2021-05-10, 11:51:36
A small update here, this issue is now addressed and should fix any possible crashes once the new daily build is out.

Please stay posted.
Title: Re: Crash using the AO map as a mask for a layered material.
Post by: JoeS on 2021-05-10, 19:22:04
Sweet ! thanks for the update.
Title: Re: Crash using the AO map as a mask for a layered material.
Post by: rowmanns on 2021-05-11, 08:44:04
Hi,

The new daily is out. You can find it here: https://forum.corona-renderer.com/index.php?topic=30876.msg185092#msg185092

Please let us know if you have any further issues with this.

Rowan