Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Bug Reporting => [Max] Resolved Bugs => Topic started by: iMotion on 2015-03-19, 20:21:28

Title: Max crash after saving modified texture in PS
Post by: iMotion on 2015-03-19, 20:21:28
Hello. Seems new corona version cause this crash, because with A7 and earlier versions It did not happened.
Situation is as follows: I create new material, insert a texture map in all slots i need. Next, when I need to modify the texture in photoshop (in diffuse slot, as example), after saving I have crash of max.

3ds max 2014 x64 SP5
Corona 1.00.02

Please, give some advice
Thanks
Title: Re: Max crash after saving modified texture in PS
Post by: maru on 2015-03-20, 09:33:52
You mean that it crashes when you modify a texture that just is used in scene or when you are rendering?
https://coronarenderer.freshdesk.com/support/solutions/articles/5000516180
"Modifying bitmaps on HDD while rendering can cause crashes"
Title: Re: Max crash after saving modified texture in PS
Post by: romullus on 2015-03-20, 09:43:58
Occasionally it crashes max even if not rendering. Because of that i'm trying to build a habit to save scene each time i want to modify my textures externally.
Title: Re: Max crash after saving modified texture in PS
Post by: maru on 2015-03-20, 10:06:33
Maybe it's because the texture is rendered in the material editor? I will move this topic to bugs but Ondra will have to verify it.
Title: Re: Max crash after saving modified texture in PS
Post by: xt13r on 2015-03-20, 10:36:10
this happens for me too, but not every time. I can't ctch it exactly when it happens and why.
Sometimes editing texture in protoshop and everything is fine, and sometmes after saving rexture and switching to 3dsmax - it crashes immediately.
Title: Re: Max crash after saving modified texture in PS
Post by: iMotion on 2015-03-20, 15:29:32
this happens for me too, but not every time. I can't ctch it exactly when it happens and why.
Sometimes editing texture in protoshop and everything is fine, and sometmes after saving rexture and switching to 3dsmax - it crashes immediately.

The same problem. Main reason why I start this topic. But for me, it crashed almost everytime I save edited texture in PS. Not during render, but only when texture already loaded into slot. I did not check if it cause only when showing texture in viewport or not, need to check it manualy. Im sure that it was not in previous version of corona
Title: Re: Max crash after saving modified texture in PS
Post by: cecofuli on 2015-03-20, 19:05:31
Same problem here, especially with big textures (8K)
Maybe it's Nitrous problem. I have no time, not, to check what's the problem.
Try to change Driver, with different resolutions on driver settings, both in DX and Nitrous.
With Nitrous, you need a script:

http://www.scriptspot.com/search/apachesolr_search/Nitrous%20tweaker
Title: Re: Max crash after saving modified texture in PS
Post by: Dollmaker on 2015-03-21, 14:23:54
Happens to me every now and then.. when i modify texture in ps.. and in max scene crashes..
Title: Re: Max crash after saving modified texture in PS
Post by: Ondra on 2015-03-23, 15:36:39
I am not able to reproduce this at the moment... so minidump, maybe? ;)
Title: Re: Max crash after saving modified texture in PS
Post by: romullus on 2015-03-23, 16:29:15
Tried to crash max without rendering, but didn't manage to achieve that, so i launched interactive rendering and after couple minutes max crashes.
Title: Re: Max crash after saving modified texture in PS
Post by: pokoy on 2015-03-23, 16:36:21
Happens to me every now and then.. when i modify texture in ps.. and in max scene crashes..

Same here, sometimes it'll crash, sometimes max doesn't care. Didn't crash in versions prior to 1.0, however...
Title: Re: Max crash after saving modified texture in PS
Post by: Ondra on 2015-03-23, 16:48:35
Tried to crash max without rendering, but didn't manage to achieve that, so i launched interactive rendering and after couple minutes max crashes.

Can you describe what you were doing when it crashed? Was it when saving a bitmap used in interactive rendering that was running at the time?
Title: Re: Max crash after saving modified texture in PS
Post by: romullus on 2015-03-23, 17:04:52
I cannot recall it 100%. I know that after i launch IR i was able successfuly save texture from photoshop couple times and then max suddenly crash. I'm not sure whether photoshop was saving or not at the moment. I'll try to conduct another attempt.
Title: Re: Max crash after saving modified texture in PS
Post by: Ondra on 2015-03-23, 17:05:53
But DR was running, right? Max was not idle?
Title: Re: Max crash after saving modified texture in PS
Post by: romullus on 2015-03-23, 17:09:23
If you mean Interactive Rendering, then answer is yes, it was running. I tried to make max crash when max was idling, but it just didn't happen.
Title: Re: Max crash after saving modified texture in PS
Post by: Ondra on 2015-03-23, 17:23:25
yes, sorry, IR ;)

Ok, I will take a look, and I will also try to get debug symbols from autodesk so I can look at the minidump you sent me
Title: Re: Max crash after saving modified texture in PS
Post by: pokoy on 2015-03-23, 20:01:45
I had this with no IR running but the material editor was open so this might be another place to look.
Title: Re: Max crash after saving modified texture in PS
Post by: iMotion on 2015-04-01, 22:06:28
Guys. I just checked the next: Max crashes when saving bitmap in PS - that thing we all already know. But I thought it only crashes when bitmap is uploaded to slot (Diffuse etc.). I tried to clear slot, to make no connection between PS & 3dsmax. Well, even without texture in slot max crashes anyway immediately after saving in photoshop. Thats the way it is ... ((
Ondra?
Title: Re: Max crash after saving modified texture in PS
Post by: romullus on 2015-04-01, 23:20:02
I was working with some textures which were used in opened max scene in photoshop and successfuly saved them several times. Got a crash when renamed one of textures in windows explorer. All that time max wasn't rendering and slate material editor was opened.

Minidumps: 1427922891_Bitmap_rename_crash.7z
Title: Re: Max crash after saving modified texture in PS
Post by: romullus on 2015-04-20, 19:12:56
One more instance of similar crash. This time i deleted hdr file in explorer and max immediatelly crashed. Texmap containing that file was assigned to one of enviromental overrides, which was turned off at the moment. Max wasn't rendering. SME windew was opened, but this particular texmap wasn't in any window.
Title: Re: Max crash after saving modified texture in PS
Post by: Christa Noel on 2015-05-05, 07:07:53
it happen to me a couple times, It can't be reproduced constantly. modify or delete a picture that is assigned to some material texmap, which turned off at the moment.
and this: open the scene > start IR or render > stop IR or render > modifiy some image outside the max > crash immediately. modify a bitmap without close the max is a need for me, I think it is a bit annoying isn't it? :)
Title: Re: Max crash after saving modified texture in PS
Post by: Luke_Wilkins_3d on 2015-05-06, 11:18:24
I get this problem too, it's getting ridiculous now. What is this? A render engine or what. People need to update their textures without silly problems like.... LOSING YOUR WHOLE DAMN PROGRESS.

It happened to me NOT in interactive mode, just plain old ordinary mode. I have a corona sun + sky set up, everything set up. I am using Substance Painter to export TARGA textures that update when I hit export. So they update and then I need a nice smooth update of that texture in my 3ds max viewport.

Sort it out. Paid for this crap.
Title: Re: Max crash after saving modified texture in PS
Post by: Ondra on 2015-05-06, 12:22:03
For now, you should be able to prevent crashes by rendering with "Lock 3ds max during rendering" on in system settings. I will see if I can sort this out somehow.
Title: Re: Max crash after saving modified texture in PS
Post by: romullus on 2015-05-06, 12:24:54
No need for this angry attitude. It is registered as a bug and surely will be fixed eventually. You have to understand that small dev team cannot fix all issues at once. Give them some time and give some respect too.

For now, you should be able to prevent crashes by rendering with "Lock 3ds max during rendering" on in system settings. I will see if I can sort this out somehow.

For me it's mostly happening when not rendering. Not sure if lock 3ds max will help, but i will give it a try.
Title: Re: Max crash after saving modified texture in PS
Post by: CiroC on 2015-05-06, 12:39:52
The same thing happened with me a couple of times yesterday. To be more precise, with me the problem happens when I select the node to reload the texture. Today it seems fine :\ When it happens, there is anything I can do to provide more info??
Title: Re: Max crash after saving modified texture in PS
Post by: Christa Noel on 2015-05-07, 12:53:56
You have to understand that small dev team cannot fix all issues at once. Give them some time and give some respect too.
big agree.
Title: Re: Max crash after saving modified texture in PS
Post by: romullus on 2015-05-11, 10:14:48
For now, you should be able to prevent crashes by rendering with "Lock 3ds max during rendering" on in system settings. I will see if I can sort this out somehow.
For me it's mostly happening when not rendering. Not sure if lock 3ds max will help, but i will give it a try.

Just tried it and it's not helping. Max still crashes as soon as texture is saved in ps.
Title: Re: Max crash after saving modified texture in PS
Post by: Ondra on 2015-05-11, 11:07:16
do I have minidump of this problem? If not, please share one ;)
Title: Re: Max crash after saving modified texture in PS
Post by: romullus on 2015-05-11, 11:50:17
Hmmm, there are multiple minidumps in this topic already (posts 9, 18, 19). Or do you want minidump for specific event?
Title: Re: Max crash after saving modified texture in PS
Post by: Ondra on 2015-05-11, 19:16:56
I think I was unable to read those. It would be best to get minidump from some non-design version with latest servicepack installed
Title: Re: Max crash after saving modified texture in PS
Post by: romullus on 2015-05-12, 12:31:24
I'm affraid i can't help you there - mine is design version.
Title: Re: Max crash after saving modified texture in PS
Post by: maru on 2015-05-12, 13:01:38
I wasn't able to make it crash when using hdr in enviro/overrides and deleting the file or when modifying object's texture in PS, but it finally crashed when I turned on IR and modified the texture. Here is the minidump from regular max 2015. 
Title: Re: Max crash after saving modified texture in PS
Post by: Artisticpixel on 2015-05-20, 22:56:59
Just to add my 2 cents worth.. 3ds max design though.. No rendering, working on texture in Photoshop, go back to 3d and it crashes. Not every time but more often than not. Watched it once and the object went black before updating new texture and then crashed. Is it not possible to switch auto update off and do it manually until this gets fixed.. As I have to close my work..or remove textures until I have worked on them and then go through the motions of finding the files and reloading them.. Taking precious time away from actual working as reworking textures is a continual process.

Cheers!
Title: Re: Max crash after saving modified texture in PS
Post by: Ludvik Koutny on 2015-06-30, 17:07:33
Hi,

i am unable to reproduce it even with IR running. I modified texture and saved several times, but no crash. Was the texture any specific not often used file format perhaps?
Title: Re: Max crash after saving modified texture in PS
Post by: romullus on 2015-06-30, 20:21:57
I'd guess it's more max version than texture format specific. With 3ds max 2014 sp5 i can make it crash almost instantly no matter what texture format i modify in ps. But that's not critical anymore, since we have CoronaBitmap.
Title: Re: Max crash after saving modified texture in PS
Post by: maru on 2015-11-06, 16:18:56
moving - reason: old
solution is to use cbitmap
revive if needed
Title: Re: Max crash after saving modified texture in PS
Post by: Ondra on 2016-08-19, 17:46:48
fixed... hopefully... finally
Title: Re: Max crash after saving modified texture in PS
Post by: johan belmans on 2016-08-19, 17:59:57
nice! Faced the problem today with 1.4