Author Topic: Updating bitmaps with corona interactive crashes max  (Read 7188 times)

2019-10-26, 11:18:54

JoachimArt

  • Active Users
  • **
  • Posts: 233
    • View Profile
    • JoachimArt
I had this problem since I started using Corona and thought I mention it. But if Corona Interactive is running and you overwrite/update a texture used in the scene, Max will crash. I have tried to make an habbit of stopping corona interactive whenever I work on the textures but sometime I forget. It would be great if Corona would rather stop rendering than crash, at least.

2019-10-26, 11:47:16
Reply #1

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 9296
  • Let's move this topic, shall we?
    • View Profile
    • My Models
You don't even need to run IR for crash to occur on image rewrite or delete. Previously it was guaranteed crash on such occasions, then this issue was fixed, but lately i see it returned. Most interestingly, sometimes i remove image from a scene, make sure that it is no longer present in assets tracker, but when i delete it from HDD in windows explorer, max still crashes.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2019-10-26, 13:49:16
Reply #2

Juraj

  • Active Users
  • **
  • Posts: 4816
    • View Profile
    • studio website
Does this happen to all bitmaps ? Not sure why I thought it only happens to me when I use CoronaBitmaps.
Please follow my new Instagram for latest projects, tips&tricks, short video tutorials and free models
Behance  Probably best updated portfolio of my work
lysfaere.com Please check the new stuff!

2019-10-26, 14:27:37
Reply #3

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 9296
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Hmm, not sure about that, but i rarely use CoronaBitmaps. What i did notice, that crashes are most likely occur, when PNG file is modified or deleted. Maybe that's just coincidence, since i use PNG quite often, never bothered to test it.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2019-10-26, 14:58:08
Reply #4

JoachimArt

  • Active Users
  • **
  • Posts: 233
    • View Profile
    • JoachimArt
I have not tried to bugtest it, but from my experience any kind of image with coronabitmap or regular bitmap it will likely crash if you make an update while interactive rendering is on.

2019-10-28, 16:33:19
Reply #5

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13777
  • Marcin
    • View Profile
We will definitely look into this.
It *might* be related to some of the issues with IR that were re-introduced in V4 (I think), such as crashes when resetting the scene and merging thing while IR is running.

(Internal ID=415639564)
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2019-10-28, 17:35:53
Reply #6

JoachimArt

  • Active Users
  • **
  • Posts: 233
    • View Profile
    • JoachimArt
I happens also sometimes when not rendering, if you have material editor open. Probably because it updates the preview balls.

2019-10-30, 15:10:34
Reply #7

rowmanns

  • Former Corona Team Member
  • Active Users
  • **
  • Posts: 1892
  • Corona for 3ds Max QA Team
    • View Profile
Hi,

Is this happening with CoronaBitmaps or Max Bitamps?

Secondly which versions of Corona and Max are being used?

Cheers,

Rowan
Please read this before reporting bugs: How to report issues to us!
Send me your scene!

2019-10-30, 23:59:41
Reply #8

JoachimArt

  • Active Users
  • **
  • Posts: 233
    • View Profile
    • JoachimArt

I was able to reproduce it with standard bitmap now, but I believe it happens with both corona bitmaps and regular bitmap - it doesn't matter I think. The corona message viewer pops up but 3ds max crashes before you can see any error listed. This is with corona interactive rendering on while updating a bitmap. I need to have a scene with multiple textures for it to happen, if I only apply one texture to a cube and try, it doesn't happen. So it's not something that happens with every try or scene.

If you can't find a scene that has the problem, I can send you one. Usually it happens when corona interactive is on, in a large scene and you update a texture while it's running.

I'm currently using the latest official release of corona 4 (hotfix 1) and 3ds Max 2020.2
But this problem has existed ever since I started using corona, through 3ds max 2018-2019 and now 2020. So that means in corona 2 and 3 as well I believe. and on all machines I've used.

2019-10-31, 09:55:45
Reply #9

rowmanns

  • Former Corona Team Member
  • Active Users
  • **
  • Posts: 1892
  • Corona for 3ds Max QA Team
    • View Profile
Hi,

If you have a scene where this is happening and are able to send to over to me I would appreciate it.

Instructions on how to do this can be found in my signiture.

Thanks,

Rowan

(Internal ID=415639564)
Please read this before reporting bugs: How to report issues to us!
Send me your scene!

2019-10-31, 11:14:16
Reply #10

JoachimArt

  • Active Users
  • **
  • Posts: 233
    • View Profile
    • JoachimArt
Ok, I have uploaded a zip file. Just hit corona interactive and try to resave the textures with small changes in the bitmaps. I tried it again, it happens randomly, now it happened with the texture called background.tga. These are not corona bitmaps though, but I know for sure it happens with both - but since I was able to reproduce it here I didn't want to change it.

2019-10-31, 11:19:20
Reply #11

rowmanns

  • Former Corona Team Member
  • Active Users
  • **
  • Posts: 1892
  • Corona for 3ds Max QA Team
    • View Profile
Hi,

Thank you very much.

Rowan
Please read this before reporting bugs: How to report issues to us!
Send me your scene!

2019-11-15, 10:27:51
Reply #12

rowmanns

  • Former Corona Team Member
  • Active Users
  • **
  • Posts: 1892
  • Corona for 3ds Max QA Team
    • View Profile
Hi,

So after quite a lot of testing we were unable to reproduce this behaviour. Both with Max and Corona bitmaps.

Do you have the scene stored on a network drive or is it stored locally? Could you also describe the specification of your computer?

Thanks,

Rowan
Please read this before reporting bugs: How to report issues to us!
Send me your scene!

2019-11-15, 10:39:01
Reply #13

JoachimArt

  • Active Users
  • **
  • Posts: 233
    • View Profile
    • JoachimArt
That's strange I've had this problem since day one. I made a habit of trying to close material view and stop interactive rendering when working with the textures. It's stored locally I'm a single user freelance individual. so no network drives.
I've had this problem on several computers. Starting with intel x99 6 core i7-6850x, windows 10,. Currently I have Rampage extreme IV motherboard, i9 9940x and Windows 10. Working from local SSD on all occasions.

I have not tried extensively with corona 5, since that was just released but I can. 

2019-11-15, 10:44:35
Reply #14

rowmanns

  • Former Corona Team Member
  • Active Users
  • **
  • Posts: 1892
  • Corona for 3ds Max QA Team
    • View Profile
Hi,

Would you be able to send over a minidump the next time this happens?

I believe this is the best way for us to investigate this as we aren't able to reproduce it so far. Instructions on how to generate a minidump are in my signiture.

Update: I was able to reproduce the crash when deleting the texture from the directory while the IR was running. But this only happens with the Max bitmap, doing this using the CoronaBitmap doesn't seem to cause this kind of crash. Can you try using the CoronaBitmap and seeing if the crashes still occur?

Thanks,

Rowan

« Last Edit: 2019-11-15, 11:07:33 by rowmanns »
Please read this before reporting bugs: How to report issues to us!
Send me your scene!