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 :slight_smile:

anyone? :frowning:

So it seems like the only thing ResetLevel() does is removing my player pawn. No level is reset and no new pawn is spawned. am I doing something wrong or is this just not the way to use this function?