openplanet-nl / issues

Issue tracker for Openplanet.
10 stars 0 forks source link

Unloading a plugin after an exception & unrolling UI stack can crash the game #532

Closed XertroV closed 1 week ago

XertroV commented 1 month ago

I'm not exactly sure what causes this yet (probably something to do with resources not being cleaned up / undone properly), but I have run into it a few times with E++ somewhat recently.

If there's an exception after UI::Begin but before UI::End, E++ will crash ofc and so I need to reload. For everything I've tried so far, I will always get a CTD when unloading E++. (No difference is made by any of: in/out of editor, unloading but not reloading, stopping script engine. I haven't tried toggling it off first then reloading, but I doubt it'd help)

This only seems to matter if there's an unrolling dangling UI stack msg in the logs. Having an exception in Render isn't enough.

Not sure how to replicate it yet (besides deliberately doing it via E++)

codecat commented 1 month ago

I've found a potentially related crash which I've fixed now. In the next build, let me know if this is resolved.

XertroV commented 1 month ago

Will do, thanks!

codecat commented 1 month ago

Have you tried with 1.26.30?

codecat commented 1 week ago

Assuming fixed.