@RagnarSvenssonKing I see you set the tag "engine"
Just in case : reproduced only in Editor2 (maybe because there is engine version 1.2.102, i don't know)
I get the message "WARNING:DLIB: Unexpected eof for socket connection.", but I can't get it to hang or crash. It works every time I build&run without terminating the game first. Could you try in another project (like the runner template or similar) to see if you have the same problem there? The crash log suggests that it could be related to how the content has been loaded before rebooting the engine.
yes, you right with other project all fine.
I see the "WARNING:DLIB: Unexpected eof for socket connection." message but it works.
What can I provide you for helping solve the problem?
I have no crash if I change "async_load" to "load". In my case loading time (with a white screen) something about 25 seconds.
Strange, but when I back async_load it works without crashes. Only long load O_o
In editor1 do not closing the dmengine is a way to faster project loading.
Now to close dmengine is faster way.
But issue is that sometimes I forget to close dmengine...
It's now around 1000 times faster, takes a second to load it. :) Each resource is around 0.3 msec. Will look at the crash now. I'll let you know when the fixes are available in an update.
Sorry for the delay, it was really hard to find the reason of the "Unexpected EOF", which in fact turned out to be a bug in Java. Found a workaround though! A fix is up for review after which it will be merged and released. We also found and fixed the crash in the engine. As a bonus the loading is also faster because of more efficient etags-handling.
Expected behaviour
dmengine runs when I build the project
Actual behaviour
in console: WARNING:DLIB: Unexpected eof for socket connection.
and dmengine freeze with white screen and then crashed Crashlog in the file
dmengine_crash_log.txt
Steps to reproduce
just build the project using Cmd+B - sometimes dmengine freeze with warning.
@RagnarSvenssonKing I see you set the tag "engine" Just in case : reproduced only in Editor2 (maybe because there is engine version 1.2.102, i don't know)
Alright, thanks for the extra info! It might be editor2 after all then.
@RagnarSvenssonKing I found simple way for bug reproduction:
This really really hinders work. I making "Force Quit" dmengine 7-9 times per day =(
Sorry, I will start working on it right away!
Thank you very much!!!!
I get the message "WARNING:DLIB: Unexpected eof for socket connection.", but I can't get it to hang or crash. It works every time I build&run without terminating the game first. Could you try in another project (like the runner template or similar) to see if you have the same problem there? The crash log suggests that it could be related to how the content has been loaded before rebooting the engine.
yes, you right with other project all fine. I see the "WARNING:DLIB: Unexpected eof for socket connection." message but it works. What can I provide you for helping solve the problem?
Would you mind me getting access to your project?
yes, just give me you defold dashboard email.
Thanks! ragnar.svensson@king.com
you can check, it's the RedHood project
Excellent, got the crash now! Thanks a lot, will let you know when I find the reason.
Ok, I have a theory. If you have the time, you could help me verify it!
So I think that the crash comes from an unlucky combination of these things. I will of course fix the crash too.
Could you try to provoke the crash after changing config.lua:
to
I could not get the crash after doing sync loading, but the game hangs with a white screen for long times while loading resources incredibly slow.
587 resources loaded, 300 msec/resource (OMG!!!) => 3 minutes of loading.. this is embarrassing. :)
I have no crash if I change "async_load" to "load". In my case loading time (with a white screen) something about 25 seconds. Strange, but when I back async_load it works without crashes. Only long load O_o
In editor1 do not closing the dmengine is a way to faster project loading. Now to close dmengine is faster way. But issue is that sometimes I forget to close dmengine...
It's now around 1000 times faster, takes a second to load it. :) Each resource is around 0.3 msec. Will look at the crash now. I'll let you know when the fixes are available in an update.
Sorry for the delay, it was really hard to find the reason of the "Unexpected EOF", which in fact turned out to be a bug in Java. Found a workaround though! A fix is up for review after which it will be merged and released. We also found and fixed the crash in the engine. As a bonus the loading is also faster because of more efficient etags-handling.
Awesome news!
Fixed!