Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Bug Reporting => Topic started by: romullus on 2024-10-01, 21:08:58

Title: Crashing with Vray materials
Post by: romullus on 2024-10-01, 21:08:58
3ds Max 2024, Corona 12

3ds Max immediately crashes when a) active renderer is set to Corona and b) Vray material is being opened in slate material editor. Reproducible 100% on my end. I don't have Vray installed if that matters.

Update: compact material editor is affected by this issue as well.
Title: Re: Crashing with Vray materials
Post by: romullus on 2024-10-01, 21:11:41
BTW, if anyone knows if it's possible to close all slate material editor views without opening SME itself, i would love to know that, because that bug had fucked one of my scenes and i would want to salvage it if i can.
Title: Re: Crashing with Vray materials
Post by: Frood on 2024-10-01, 22:39:56
Hi,

BTW, if anyone knows if it's possible to close all slate material editor views without opening SME itself

try

Code: [Select]
while sme.getNumviews()!=0 do sme.deleteView 1 false
But sme has to be initialized, it does not work if you are loading a scene by doubleclick or "open with". So

- start max, open sme, close sme
- load the affected scene
- run the line above


Good Luck



Title: Re: Crashing with Vray materials
Post by: romullus on 2024-10-01, 23:51:46
You're my hero! The fix worked a bit too well - it completely removed all the views and SME become unusable, apparently there's no way to add new views, when all of them are deleted. Fortunately simple restart fixed that issue and my scene is working again. Thank you very much!! :]
Title: Re: Crashing with Vray materials
Post by: Frood on 2024-10-02, 07:52:21
it completely removed all the views and SME become unusable, apparently there's no way to add new views, when all of them are deleted.

I think you are just not aware of where to do this?


Good Luck


Title: Re: Crashing with Vray materials
Post by: romullus on 2024-10-02, 10:07:26
Haha, i tried to right-click all over the place, searched all the menus without much success. Turns out i just wasn't precise enough. Thanks again Frood! :]
Title: Re: Crashing with Vray materials
Post by: Aram Avetisyan on 2024-10-02, 11:22:55
3ds Max 2024, Corona 12

3ds Max immediately crashes when a) active renderer is set to Corona and b) Vray material is being opened in slate material editor. Reproducible 100% on my end. I don't have Vray installed if that matters.

Update: compact material editor is affected by this issue as well.

Hi,

Can you please send the scene over so I have a look?
Title: Re: Crashing with Vray materials
Post by: romullus on 2024-10-02, 12:19:04
Hi Aram,

It happens in every scene, even completely empty one. I just need to merge any model with Vray material, pick its material to material editor and as long as Corona is set to be an active renderer, the Max will crash. Perhaps minidump would be more useful in this case?
Title: Re: Crashing with Vray materials
Post by: Aram Avetisyan on 2024-10-02, 12:59:22
Reproduced it straight away, thanks for reporting this.

Yes, having VRay installed fixed the crash.

(Report ID=CMAX-1300)
Title: Re: Crashing with Vray materials
Post by: aaouviz on 2024-10-02, 16:26:59
Amazing that I missed this topic, I'm having a similar (if not same) problem. Only happens every 2nd SME load, or so.

New scene doesn't help, clearing SME doesn't help, corona conversion doesn't help.

I did experience this crash, so I installed vray (without activating a license, so is this perhaps related?). It seemed to help, but the problem returned with a vengeance a week or so later.

Nothing I do seems to fix it. It's extremely annoying. More info over on my other thread about it. https://forum.corona-renderer.com/index.php?topic=43624.0