Author Topic: Crash if hdri change while interactive  (Read 7508 times)

2020-07-13, 17:10:46

arqrenderz

  • Active Users
  • **
  • Posts: 994
  • https://www.behance.net/Arqrenderz1
    • View Profile
    • arqrenderz
Hi, there is a crash every time i change the hdri while the interactive is running.
is it related to the object merger while interactive is running?

2020-07-14, 08:21:30
Reply #1

rowmanns

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

Please can you provide some more information about the issue?

Are you loading the HDRI through a 3ds Max or Corona bitmap? How are you changing the HDRI, is it through the load file dialog within the bitmap?

Can you also provide the versions of Corona and 3ds Max which you rea using?

Thanks,

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

2020-07-14, 17:26:10
Reply #2

arqrenderz

  • Active Users
  • **
  • Posts: 994
  • https://www.behance.net/Arqrenderz1
    • View Profile
    • arqrenderz
Hdri trough 3dsmax, im changing the hdri through a custom script, Corona version 5 hotfix 1, and 3dsmax 2020 win 10
Im uploading the dump file and a video showing the crash.


Upload name
1594740342_3dsmax-minidump.dmp

2020-07-15, 16:56:12
Reply #3

rowmanns

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

Does it crash when changing HDRIs not using your custom script?

Cheers,

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

2020-07-15, 17:44:04
Reply #4

arqrenderz

  • Active Users
  • **
  • Posts: 994
  • https://www.behance.net/Arqrenderz1
    • View Profile
    • arqrenderz
Nop, but the script is only changing cameras and hdris, nothing fancy

2020-07-16, 11:38:29
Reply #5

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12741
  • Marcin
    • View Profile
There are no crashes without the script - nothing we can do here.
There are crashes when using your custom script - we can't help without knowing what the script is doing exactly.
You mentioned "object merger while interactive is running" in your first post - how is this related to changing HDRI and cameras? Is this something that your script is doing?
Can you share the script and the scene with us so that we could investigate further?

So far we are not able to provide any help based on the partial information that we have.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2020-07-16, 16:13:55
Reply #6

arqrenderz

  • Active Users
  • **
  • Posts: 994
  • https://www.behance.net/Arqrenderz1
    • View Profile
    • arqrenderz
Hi Maru
About object merge, it was just a thought, the script is not merging any object on the scene.
I have uploaded trough the dropbox private uploader, both the scene and the scripts, with the name daniel diaz del castillo, and email contacto@arqrenderz.com

Just drag and drop the two scripts to max, the category should be arqrenderz on toolbar, the script is called camera lister, put a shortcut to it and the rest is just like the video on this post.
Select the first camera, run interactive, while interactive on select the second camera and the bug should appear.
Hope it helps

2020-08-07, 17:29:33
Reply #7

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12741
  • Marcin
    • View Profile
Reproduced and logged. Thanks a lot for the scene, scripts, and clear instructions!

What would help even more, if I am not asking for too much, is a simplified version of the script and the scene, where the issue could be reproduced (i.e. the isolated part of the script which is changing the camera and replacing the environment).

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

2020-08-10, 21:45:55
Reply #8

EX3D

  • Users
  • *
  • Posts: 3
  • ex3d.com
    • View Profile
    • EX3D
Hello. Yep I´m responsible for this mess of a script. Sorry. Daniel will send you a stripped down version of that script but I´m redoing the whole thing so I´ll keep you both updated.

FYI.

The script works in this way:

1-Each camera has a userprop stored with the type, bitmap filename path and properties of each env map.
2-When a camera is selected the script creates from 0 a new env map following those properties.
3-If sun wiring is selected the script also wires the x offset of such bitmap with the x rotation of a $CoronaSun001 object.

4-The full version has a lot of kipple related to ui changes, render regions, render layers etc and I think that contributes to the problem so I´m reviewing that part. As I said I´ll keep you posted.

Cheers

2020-08-10, 22:04:31
Reply #9

arqrenderz

  • Active Users
  • **
  • Posts: 994
  • https://www.behance.net/Arqrenderz1
    • View Profile
    • arqrenderz
Hi Maru, so here is the strip down file  The private uploader is not working, as for the script you can use the same as before, the code lines that matter are between the 319 y 577 lines.

Hope it help to sort out the bug
« Last Edit: 2020-08-27, 16:59:35 by arqrenderz »

2020-08-14, 12:57:35
Reply #10

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12741
  • Marcin
    • View Profile
Thank you. We will check both the simplified scene and the specific script lines.
Are you sure that it's fine to share the link publicly here?
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2020-08-14, 18:23:27
Reply #11

arqrenderz

  • Active Users
  • **
  • Posts: 994
  • https://www.behance.net/Arqrenderz1
    • View Profile
    • arqrenderz
Yep no problem, the script is not in there, just a simplified scene with corona sun.

2020-08-25, 05:36:53
Reply #12

EX3D

  • Users
  • *
  • Posts: 3
  • ex3d.com
    • View Profile
    • EX3D
Are you sure that it's fine to share the link publicly here?

Yes. The idea is to eventually post a stable, public, non encrypted version of that script as soon as I get out of a huge project backlog. This requires a total overhaul of the code as I´m implementing scene states and render presets into the core fn.

Right now this script is a shameful shameful piece of code but here it is.

Anyways I´ll be waiting for any updates. Thx.
« Last Edit: 2020-08-25, 05:44:46 by EX3D »

2020-08-25, 11:28:09
Reply #13

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12741
  • Marcin
    • View Profile
Yep no problem, the script is not in there, just a simplified scene with corona sun.

Yep no problem, the script is not in there, just a simplified scene with corona sun.

Just to clarify: I meant the scene file, not the script.

Unfortunately we do not have any news here yet.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2020-08-25, 16:45:37
Reply #14

arqrenderz

  • Active Users
  • **
  • Posts: 994
  • https://www.behance.net/Arqrenderz1
    • View Profile
    • arqrenderz
If you have the scene i can delete the file now.

2020-08-27, 15:27:16
Reply #15

gunarchi

  • Active Users
  • **
  • Posts: 8
    • View Profile
hi there, m receiving the same issue, but in a different way, when ever i try to update my texture live with interactive renderer , 3ds max crashes immediately .....

fore example:
my interactive viewport is on and running constantly, then i go back to photoshop and make any change in my texture already applied in 3ds max while interactive is on, and then when i save my texture from photoshop and go back to 3ds max it gets crash right away....

m experiencing this issue since corona 4 till corona 6 RC4

please solve the issue.

thanks
 

2020-11-18, 11:50:11
Reply #16

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12741
  • Marcin
    • View Profile
About the "crash when editing a texture in Photoshop" issues - if anyone is getting this, please provide more info. What exactly you are doing? How are you saving the image? (Ctrl+S or some other way?) A series of screenshots or a video recording would be perfect.
The reason is that we got some reports like this, but we were never able to reproduce it. Once we are able to reproduce it, with your help, we should be able to fix it.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2020-11-18, 15:34:17
Reply #17

EX3D

  • Users
  • *
  • Posts: 3
  • ex3d.com
    • View Profile
    • EX3D
Just an idea but we almost always get this bug and the common factor may be that we always do this on a network environment.

This may be related to network timeout, load out paging etc?

I'll try to prove my point if I have a little time this weekend.