Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: kenc on 2023-12-14, 19:27:58

Title: Unexpected exception (Monitored managed process “3dsmaxProcess” has exited)
Post by: kenc on 2023-12-14, 19:27:58
Hi All. I am using
MAX 2024 2024.1 update 26.1.0.2270
Deadline 10.3.0.13
Corona 10 hotfix 2

I have a rendering on deadline that crashes and reports an error. I've already been on deadline forum about this.
What is happening is the worker starts to render the image. When it is complete, it close and deadline reports an error. I am submitting 2 logs, one from max and the other from deadline
You can see in the logs at what point max crashes

2023/11/21 16:56:29 INF: [20184] [24200] CORONA : Denoising
2023/11/21 16:56:29 INF: [20184] [24200] CORONA : Cleaning up
2023/11/21 16:56:29 ERR: [20184] [24200] An unexpected exception has occurred in the network renderer and it is terminating.

If I download the max file and script I can load it up in max and it renders fine, no problem.
Title: Re: Unexpected exception (Monitored managed process “3dsmaxProcess” has exited)
Post by: maru on 2023-12-15, 15:31:31
Hi, I have some questions here:

1. The month in the logs is November. If this is incorrect, a wrong date setup in the OS can cause software to misbehave. Please make sure that on all your computers you are using correct date and time settings.

2. "If I download the max file and script I can load it up in max and it renders fine, no problem." - What exactly do you mean by this? Especially, what "script" do you mean?

3. If you try rendering some other scene, even very simple like one teapot and one light, is it rendering correctly? Or is there an error again?

Can you also provide some general information about what you are rendering and why? How exactly are you using Deadline? Are you using it just to assign jobs to different computers? Or maybe it's some kind of distributed or tile rendering?
Title: Re: Unexpected exception (Monitored managed process “3dsmaxProcess” has exited)
Post by: kenc on 2023-12-18, 17:08:01
Hi Maru

1. Don't be concerned about the date. These are old logs I posted to deadline forum. I'm attaching an updated one from today.
2. I download the max file and script through deadline using Aux. Files. See attached.
3. My scene is simple as it can get. It's a cube with standard legacy 200 grey.
I have a deadline submission script that sends bake map rendering to deadline. The scene is what I'm using in #3 above. If you want the scene and rendering script I can submit it. The script is simple calling the rendertype:#bakeSelected.
Title: Re: Unexpected exception (Monitored managed process “3dsmaxProcess” has exited)
Post by: kenc on 2023-12-18, 17:10:37
Also I'd like to add is this whole scheme of rendering the bakemaps works perfectly in MAX 2019 and I've been using it for years
Title: Re: Unexpected exception (Monitored managed process “3dsmaxProcess” has exited)
Post by: kenc on 2024-01-02, 14:50:53
Hi Maru and Happy New Year

Have you been able to check this issue out?
Title: Re: Unexpected exception (Monitored managed process “3dsmaxProcess” has exited)
Post by: maru on 2024-01-02, 15:49:34
Hi, I have started a support ticket #192115 for you. You should receive an email notification about it. Let's continue over there and once we have any useful information we can share it here for other users.
Title: Re: Unexpected exception (Monitored managed process “3dsmaxProcess” has exited)
Post by: kenc on 2024-01-02, 16:23:35
@maru
Thank you. I have received the email for the ticket. It will take some time for me to put all the info together.
Title: Re: Unexpected exception (Monitored managed process “3dsmaxProcess” has exited)
Post by: kenc on 2024-01-09, 14:28:44
Hi

I have submitted 2 pieces of info to the ticket email.
I have updated to Max 2024.2 26.2.0.22013 and file on deadline still crashes
I also provided a link to the deadline discussion
Title: Re: Unexpected exception (Monitored managed process “3dsmaxProcess” has exited)
Post by: kenc on 2024-01-09, 16:26:52
I have installed Corona 11 and still crashes.
Title: Re: Unexpected exception (Monitored managed process “3dsmaxProcess” has exited)
Post by: kenc on 2024-01-09, 18:10:07
I have submitted a max file and a maxscript
Title: Re: Unexpected exception (Monitored managed process “3dsmaxProcess” has exited)
Post by: James Vella on 2024-01-09, 21:34:51
Not sure if this helps but Ive found with deadline max2024 enabling these two options works for me:
- Force Workstation Mode
- Restart 3dsmax Between Tasks

You can test it and see if it helps.
Title: Re: Unexpected exception (Monitored managed process “3dsmaxProcess” has exited)
Post by: kenc on 2024-01-10, 15:48:44
Thanks James. Yes it does render except the problem is that it uses a MAX license. We must be able to render it in slave/worker mode.
Title: Re: Unexpected exception (Monitored managed process “3dsmaxProcess” has exited)
Post by: James Vella on 2024-01-10, 16:35:51
Thanks James. Yes it does render except the problem is that it uses a MAX license. We must be able to render it in slave/worker mode.

Yep, facing the same issue. We have to use workstation licences for now since thats the only workaround Ive found. Hopefully the Corona team can look into this issue since it would solve for us too. Vray works just fine without this workaround.
Title: Re: Unexpected exception (Monitored managed process “3dsmaxProcess” has exited)
Post by: kenc on 2024-01-10, 16:46:01
I have not tested with 'Restart 3dsmax Between Tasks' but I can not see this making any difference as it fails on the first attempt and rendering.
Title: Re: Unexpected exception (Monitored managed process “3dsmaxProcess” has exited)
Post by: James Vella on 2024-01-10, 17:05:03
If it fails on first attempt then you are correct 'Restart 3dsmax Between Tasks' wont help. I thought you said previously: "Thanks James. Yes it does render except the problem is that it uses a MAX license."?
Title: Re: Unexpected exception (Monitored managed process “3dsmaxProcess” has exited)
Post by: kenc on 2024-01-10, 17:13:37
I was referring to workstation mode, but of course I didn't post that. Sorry
Title: Re: Unexpected exception (Monitored managed process “3dsmaxProcess” has exited)
Post by: kenc on 2024-01-10, 17:14:49
I tested with workstation mode but I guess I didnt make that clear. Sorry
Title: Re: Unexpected exception (Monitored managed process “3dsmaxProcess” has exited)
Post by: James Vella on 2024-01-10, 17:20:18
Not sure what this means, they both work in tandem. So if it renders and outputs then you need to restart the 3dsmax session to begin the next one on that workstation.
Title: Re: Unexpected exception (Monitored managed process “3dsmaxProcess” has exited)
Post by: kenc on 2024-01-10, 17:22:02
When I tested I first used workstation mode. Then closed slave. Then removed workstation mode and start slave.
Title: Re: Unexpected exception (Monitored managed process “3dsmaxProcess” has exited)
Post by: James Vella on 2024-01-10, 17:25:51
And the result?
Title: Re: Unexpected exception (Monitored managed process “3dsmaxProcess” has exited)
Post by: James Vella on 2024-01-10, 17:27:23
Try also enable this option see if it works:
Ignore Missing DLL's
Title: Re: Unexpected exception (Monitored managed process “3dsmaxProcess” has exited)
Post by: kenc on 2024-01-10, 17:29:54
I already use that
Title: Re: Unexpected exception (Monitored managed process “3dsmaxProcess” has exited)
Post by: James Vella on 2024-01-10, 17:53:38
Those are the only 3 options I use with Corona, so Im out of ideas. Up to the Corona team at this point.
Title: Re: Unexpected exception (Monitored managed process “3dsmaxProcess” has exited)
Post by: kenc on 2024-01-10, 19:36:17
Thanks James
Title: Re: Unexpected exception (Monitored managed process “3dsmaxProcess” has exited)
Post by: maru on 2024-02-08, 16:15:05
(this is still being investigated by the Corona + Deadline teams)
Title: Re: Unexpected exception (Monitored managed process “3dsmaxProcess” has exited)
Post by: kenc on 2024-02-12, 16:05:02
@maru I do see the reply on deadline forum and i also added a reply.
Title: Re: Unexpected exception (Monitored managed process “3dsmaxProcess” has exited)
Post by: maru on 2024-02-12, 16:07:46
Thanks, I'll see if I can reproduce the same thing with 3ds Max 2019. If so, then I will try contacting the Deadline team.
Title: Re: Unexpected exception (Monitored managed process “3dsmaxProcess” has exited)
Post by: kenc on 2024-02-12, 16:12:38
Thanks so much
Title: Re: Unexpected exception (Monitored managed process “3dsmaxProcess” has exited)
Post by: maru on 2024-02-12, 16:19:01
Sorry, I just realized that we can't use 3ds Max 2019 any more. :( The oldest one I can try is 2021.
Title: Re: Unexpected exception (Monitored managed process “3dsmaxProcess” has exited)
Post by: kenc on 2024-02-12, 16:21:47
You'll probably find the same issue. I did with 2022 and 2023
Title: Re: Unexpected exception (Monitored managed process “3dsmaxProcess” has exited)
Post by: kenc on 2024-02-21, 20:46:39
Marcin Miodek and I are working with deadline with my reported issue. Marcin has joined the discussion thread and is posting.