NodeJs-Unreal icon indicating copy to clipboard operation
NodeJs-Unreal copied to clipboard

packaged game crashing at exit

Open xmak opened this issue 4 years ago • 5 comments

When there's an actor on the map with the Node component, the packaged game crashes on exit with the following error message:

image

It happens regardless of whether any node scripts were run or not, just having the Node component in an actor which is present on the map produces this error.

It happens when using the plugin compiled from code, the latest master (I haven't tried the relese version), and it affects only packaged projects. When run from Unreal editor there's no crash.

Test project:

https://drive.google.com/open?id=1Do_Hnksl8oFqdHb8fQpFk7luLO4Ok8c8

Packaged:

https://drive.google.com/open?id=1QXofcQruPHCyAeCLEgfPKz1WIH4UGMns (game is just blank screen, press Esc to exit)

P.S. The crash doesn't happen always, so running the game a few times could be required to reproduce it.

xmak avatar Apr 29 '20 07:04 xmak

Can confirm I've seen the same crash in packaged builds. I'm using the release version but did delete the binaries folder and rebuild the plugin. Happens occasionally.

JackGit3 avatar Jan 25 '21 19:01 JackGit3

Do we have a dump or stack trace available for a crash?

getnamo avatar Jan 27 '21 06:01 getnamo

No idea why but I can't get this bug to happen again, if I can manage to replicate it I will try to provide something.

JackGit3 avatar Jan 27 '21 23:01 JackGit3

It finally happened again, I'm attaching the logfile from the packaged exe. Let me know if you want me to provide anything else. I believe the only relevant part is at the very bottom. BugCrash.txt

JackGit3 avatar Jan 28 '21 23:01 JackGit3

SOS: I met this bug everytime I quit the game made by ue4 with this plugin.(v0.7.0 for UE 4.26) . I think it causes 'Memory Leak', but I don't know reason. I'm about to read the source code of the plugin, but if you can help me, it'll be highly appreciated.

hikingyoung avatar Aug 08 '21 16:08 hikingyoung