I've encountered a crash that can be triggered either during a build or when selecting actors in a scene and creating a new Level Instance from them.
Upon disabling the creation of the FAsyncTickManager the crash went away, upon reading the code in the plugin and the engine I've determined that FWorldDelegates::OnWorldCleanup is likely the cause. You can find the callstack below, I'll be submitting a PR soon with a fix to address this issue.
Hello!
I've encountered a crash that can be triggered either during a build or when selecting actors in a scene and creating a new Level Instance from them.
Upon disabling the creation of the
FAsyncTickManager
the crash went away, upon reading the code in the plugin and the engine I've determined thatFWorldDelegates::OnWorldCleanup
is likely the cause. You can find the callstack below, I'll be submitting a PR soon with a fix to address this issue.05:19:48 LogWindows: Error: [Callstack] 0x00000886fa0766c0 UnknownFunction [] 05:19:48 LogWindows: Error: [Callstack] 0x00007ffa95e04e99 UnrealEditor-Chaos.dll!Chaos::FPushPhysicsData::Reset() [A:\TCAgent\work\22616e61fb75c230\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\ChaosMarshallingManager.cpp:153] 05:19:48 LogWindows: Error: [Callstack] 0x00007ffa95ded9ca UnrealEditor-Chaos.dll!Chaos::FChaosMarshallingManager::FreeData_Internal() [A:\TCAgent\work\22616e61fb75c230\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\ChaosMarshallingManager.cpp:137] 05:19:48 LogWindows: Error: [Callstack] 0x00007ffa95ded913 UnrealEditor-Chaos.dll!Chaos::FChaosMarshallingManager::FreeDataToHistory_Internal() [A:\TCAgent\work\22616e61fb75c230\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\ChaosMarshallingManager.cpp:183] 05:19:48 LogWindows: Error: [Callstack] 0x00007ffa95fe48d0 UnrealEditor-Chaos.dll!Chaos::FPhysicsSolverAdvanceTask::AdvanceSolver() [A:\TCAgent\work\22616e61fb75c230\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\Framework\PhysicsSolverBase.cpp:168] 05:19:48 LogWindows: Error: [Callstack] 0x00007ffa95fe3958 UnrealEditor-Chaos.dll!Chaos::FPhysicsSolverBase::AdvanceAndDispatch_External() [A:\TCAgent\work\22616e61fb75c230\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\Framework\PhysicsSolverBase.cpp:446] 05:19:48 LogWindows: Error: [Callstack] 0x00007ffa95feb92a UnrealEditor-Chaos.dll!Chaos::FPhysicsSolverBase::DestroySolver() [A:\TCAgent\work\22616e61fb75c230\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\Framework\PhysicsSolverBase.cpp:286] 05:19:48 LogWindows: Error: [Callstack] 0x00007ffa95c167b2 UnrealEditor-Chaos.dll!FChaosSolversModule::DestroySolver() [A:\TCAgent\work\22616e61fb75c230\Engine\Source\Runtime\Experimental\Chaos\Private\ChaosSolversModule.cpp:278] 05:19:48 LogWindows: Error: [Callstack] 0x00007ffa97087de7 UnrealEditor-PhysicsCore.dll!FChaosScene::~FChaosScene() [A:\TCAgent\work\22616e61fb75c230\Engine\Source\Runtime\PhysicsCore\Private\ChaosScene.cpp:121] 05:19:48 LogWindows: Error: [Callstack] 0x00007ffaa1179b23 UnrealEditor-Engine.dll!FPhysScene_Chaos::
vector deleting destructor'() [] 05:19:48 LogWindows: Error: [Callstack] 0x00007ffaa1c16439 UnrealEditor-Engine.dll!UWorld::SetPhysicsScene() [A:\TCAgent\work\22616e61fb75c230\Engine\Source\Runtime\Engine\Private\World.cpp:5802] 05:19:48 LogWindows: Error: [Callstack] 0x00007ffaa43e0c40 UnrealEditor-UnrealEd.dll!UEditorEngine::CleanupPhysicsSceneThatWasInitializedForSave() [A:\TCAgent\work\22616e61fb75c230\Engine\Source\Editor\UnrealEd\Private\EditorEngine.cpp:4547] 05:19:48 LogWindows: Error: [Callstack] 0x00007ffaa1dc4eb7 UnrealEditor-Engine.dll!FWorldPartitionCookPackageSplitter::Teardown() [A:\TCAgent\work\22616e61fb75c230\Engine\Source\Runtime\Engine\Private\WorldPartition\WorldPartitionCookPackageSplitter.cpp:54] 05:19:48 LogWindows: Error: [Callstack] 0x00007ffaa40c2ec6 UnrealEditor-UnrealEd.dll!UE::Cook::FGeneratorPackage::SetPackageSaved() [A:\TCAgent\work\22616e61fb75c230\Engine\Source\Editor\UnrealEd\Private\Cooker\CookPackageData.cpp:1948] 05:19:48 LogWindows: Error: [Callstack] 0x00007ffaa4193cd2 UnrealEditor-UnrealEd.dll!UCookOnTheFlyServer::ReleaseCookedPlatformData() [A:\TCAgent\work\22616e61fb75c230\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:3941] 05:19:48 LogWindows: Error: [Callstack] 0x00007ffaa418920a UnrealEditor-UnrealEd.dll!UCookOnTheFlyServer::PumpSaves() [A:\TCAgent\work\22616e61fb75c230\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:4473] 05:19:48 LogWindows: Error: [Callstack] 0x00007ffaa41b295a UnrealEditor-UnrealEd.dll!UCookOnTheFlyServer::TickMainCookLoop() [A:\TCAgent\work\22616e61fb75c230\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:1412] 05:19:48 LogWindows: Error: [Callstack] 0x00007ffaa41b1e97 UnrealEditor-UnrealEd.dll!UCookOnTheFlyServer::TickCookByTheBook() [A:\TCAgent\work\22616e61fb75c230\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:1294] 05:19:48 LogWindows: Error: [Callstack] 0x00007ffaa3e9fe50 UnrealEditor-UnrealEd.dll!UCookCommandlet::RunCookByTheBookCook() [A:\TCAgent\work\22616e61fb75c230\Engine\Source\Editor\UnrealEd\Private\Commandlets\CookCommandlet.cpp:543] 05:19:48 LogWindows: Error: [Callstack] 0x00007ffaa3e5f323 UnrealEditor-UnrealEd.dll!UCookCommandlet::CookByTheBook() [A:\TCAgent\work\22616e61fb75c230\Engine\Source\Editor\UnrealEd\Private\Commandlets\CookCommandlet.cpp:504] 05:19:48 LogWindows: Error: [Callstack] 0x00007ffaa3e7dc6f UnrealEditor-UnrealEd.dll!UCookCommandlet::Main() [A:\TCAgent\work\22616e61fb75c230\Engine\Source\Editor\UnrealEd\Private\Commandlets\CookCommandlet.cpp:243] 05:19:48 LogWindows: Error: [Callstack] 0x00007ff60ad9733f UnrealEditor-Cmd.exe!FEngineLoop::PreInitPostStartupScreen() [A:\TCAgent\work\22616e61fb75c230\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:4136] 05:19:48 LogWindows: Error: [Callstack] 0x00007ff60ad8cfb6 UnrealEditor-Cmd.exe!GuardedMain() [A:\TCAgent\work\22616e61fb75c230\Engine\Source\Runtime\Launch\Private\Launch.cpp:140] 05:19:48 LogWindows: Error: [Callstack] 0x00007ff60ad8d37a UnrealEditor-Cmd.exe!GuardedMainWrapper() [A:\TCAgent\work\22616e61fb75c230\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:118] 05:19:48 LogWindows: Error: [Callstack] 0x00007ff60ad90854 UnrealEditor-Cmd.exe!LaunchWindowsStartup() [A:\TCAgent\work\22616e61fb75c230\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:258] 05:19:48 LogWindows: Error: [Callstack] 0x00007ff60ada6984 UnrealEditor-Cmd.exe!WinMain() [A:\TCAgent\work\22616e61fb75c230\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:298] 05:19:48 LogWindows: Error: [Callstack] 0x00007ff60ada8eb6 UnrealEditor-Cmd.exe!__scrt_common_main_seh() [D:\a_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288] 05:19:48 LogWindows: Error: [Callstack] 0x00007ffafa767344 KERNEL32.DLL!UnknownFunction []`Cheers!