ResetLevel() causes crash
I'm trying to reset my level using AGameModeBase::ResetLevel(). When I package my project, as soon as the reset is executed, the game crashes. The log doesn't give any hint to what the problem could be, the call stack only shows unknown functions - yay!
In PIE mode the game doesn't crash. However, the level does not seem to be reset, since the player is not moved back to the player spawn, it just moves a little bit "upwards", on the z axis. Also, the player seems to be broken then, it cannot interact with the world anymore.
Can anyone think of a reason why the game would crash with this specific function? I looked through the engine code, but can't really tell what could be the reason for it. Any help appreciated :)
asked Mar 14 '18 at 04:08 PM in C++ Programming
Follow this question
Once you sign in you will be able to subscribe for any updates here