I’m having an issue wherein the editor crashes immediately after I press stop when playing in-editor.
This has only begun to happen after I have inherited GameInstance. Previously, I had a custom GameMode class that contained two objects which themselves held TMaps containing a custom ability class and one containing animations. I have moved these to the new GameInstance class.
The output does not yield any meaningful information, and the call stack simply suggests it crashes in the engine Tick function.
I think it is possible that it crashes because certain actors in my game are holding references to objects in these TMaps - at what point should I drop these references to ensure it does not crash when pressing stop?
Worth noting that this only happens when the GameInstance has these two members in:
Any ideas? It’s extremely frustrating