getnamo/NodeJs-Unreal

packaged game crashing at exit

xmak opened this issue · 5 comments

xmak commented

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.

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.

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

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.

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

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.