Hello there, im having problems with exiting the Game in Standalone Mode.
Normally i used the ConsoleCommand(“exit”) to shutdown and it causes a crash of the engine with an access violation.
The logs print RequestExit(0) as the last logging message
so when i looked inside the FGenericPlatformMisc::RequestExit
void FGenericPlatformMisc::RequestExit( bool Force )
{
UE_LOG(LogGenericPlatformMisc, Log, TEXT("FPlatformMisc::RequestExit(%i)"), Force );
if( Force )
{
// Force immediate exit.
// Dangerous because config code isn't flushed, global destructors aren't called, etc.
// Suppress abort message and MS reports.
abort();
}
else
{
// Tell the platform specific code we want to exit cleanly from the main loop.
GIsRequestingExit = 1;
}
}
it seems to be right and i would expect the mainloop to shutdown properly. Does someone has an idea or experiencing the same issue?
best regards