Author Topic: Crashing with Vray materials  (Read 312 times)

2024-10-01, 21:08:58

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 9000
  • Let's move this topic, shall we?
    • View Profile
    • My Models
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.
« Last Edit: 2024-10-01, 21:14:26 by romullus »
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2024-10-01, 21:11:41
Reply #1

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 9000
  • Let's move this topic, shall we?
    • View Profile
    • My Models
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.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2024-10-01, 22:39:56
Reply #2

Frood

  • Active Users
  • **
  • Posts: 1959
    • View Profile
    • Rakete GmbH
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



Never underestimate the power of a well placed level one spell.

2024-10-01, 23:51:46
Reply #3

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 9000
  • Let's move this topic, shall we?
    • View Profile
    • My Models
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!! :]
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2024-10-02, 07:52:21
Reply #4

Frood

  • Active Users
  • **
  • Posts: 1959
    • View Profile
    • Rakete GmbH
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


Never underestimate the power of a well placed level one spell.

2024-10-02, 10:07:26
Reply #5

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 9000
  • Let's move this topic, shall we?
    • View Profile
    • My Models
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! :]
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2024-10-02, 11:22:55
Reply #6

Aram Avetisyan

  • Corona Team
  • Active Users
  • ****
  • Posts: 713
    • View Profile
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?
Aram Avetisyan | chaos-corona.com
Chaos Corona QA Specialist | contact us

2024-10-02, 12:19:04
Reply #7

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 9000
  • Let's move this topic, shall we?
    • View Profile
    • My Models
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?
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2024-10-02, 12:59:22
Reply #8

Aram Avetisyan

  • Corona Team
  • Active Users
  • ****
  • Posts: 713
    • View Profile
Reproduced it straight away, thanks for reporting this.

Yes, having VRay installed fixed the crash.

(Report ID=CMAX-1300)
Aram Avetisyan | chaos-corona.com
Chaos Corona QA Specialist | contact us

2024-10-02, 16:26:59
Reply #9

aaouviz

  • Active Users
  • **
  • Posts: 937
    • View Profile
    • Another Angle 3D
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
Nicolas Pratt
Another Angle 3D
https://www.instagram.com/anotherangle3d/