Developer Notes

Async scene is deprecated in 4.21 and being removed in 4.22

Description

Setting a Vehicle to Asynchronous physics will cause a crash.

Confirmed in 4.22 Main at CL 4542756

Steps to Reproduce
  1. Create a new BP project with Basic or Advanced Vehicle Template
  2. Enable Async Scene in Project Settings
  3. Open vehicle BP and enable 'Use Async Scene' in advanced physics options on Static Mesh.
  4. PIE

Result: Crash

Callstack

Assertion failed: PRigidBody->getScene() == PScene [Link Removed] [Line: 387]

UE4Editor_Core!FDebug::AssertFailed() [d:\build\++ue4\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:426]
UE4Editor_Engine!FPhysSubstepTask::SubstepInterpolation() [d:\build\++ue4\sync\engine\source\runtime\engine\private\physicsengine\physsubsteptasks.cpp:389]
UE4Editor_Engine!FPhysSubstepTask::SubstepSimulationStart() [d:\build\++ue4\sync\engine\source\runtime\engine\private\physicsengine\physsubsteptasks.cpp:498]
UE4Editor_Engine!TBaseRawMethodDelegateInstance<0,FPhysSubstepTask,void __cdecl(void),PhysXCompletionTask * __ptr64>::ExecuteIfSafe() [d:\build\++ue4\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:518]
UE4Editor_Engine!TGraphTask<FSimpleDelegateGraphTask>::ExecuteTask() [d:\build\++ue4\sync\engine\source\runtime\core\public\async\taskgraphinterfaces.h:829]
UE4Editor_Core!FNamedTaskThread::ProcessTasksNamedThread() [d:\build\++ue4\sync\engine\source\runtime\core\private\async\taskgraph.cpp:679]
UE4Editor_Core!FNamedTaskThread::ProcessTasksUntilQuit() [d:\build\++ue4\sync\engine\source\runtime\core\private\async\taskgraph.cpp:575]
UE4Editor_Core!FTaskGraphImplementation::WaitUntilTasksComplete() [d:\build\++ue4\sync\engine\source\runtime\core\private\async\taskgraph.cpp:1444]
UE4Editor_Engine!FTickTaskSequencer::ReleaseTickGroup() [d:\build\++ue4\sync\engine\source\runtime\engine\private\ticktaskmanager.cpp:556]
UE4Editor_Engine!FTickTaskManager::RunTickGroup() [d:\build\++ue4\sync\engine\source\runtime\engine\private\ticktaskmanager.cpp:1474]
UE4Editor_Engine!UWorld::RunTickGroup() [d:\build\++ue4\sync\engine\source\runtime\engine\private\leveltick.cpp:783]
UE4Editor_Engine!UWorld::Tick() [d:\build\++ue4\sync\engine\source\runtime\engine\private\leveltick.cpp:1468]
UE4Editor_Engine!UGameEngine::Tick() [d:\build\++ue4\sync\engine\source\runtime\engine\private\gameengine.cpp:1364]
UE4Editor!FEngineLoop::Tick() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launchengineloop.cpp:3699]
UE4Editor!GuardedMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launch.cpp:174]
UE4Editor!GuardedMainWrapper() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:145]
UE4Editor!WinMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:276]
UE4Editor!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:283]
kernel32
ntdll

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-66220 in the post.

1
Login to Vote

Won't Fix
ComponentPhysics
Affects Versions4.214.224.20.3
CreatedNov 6, 2018
ResolvedNov 7, 2018
UpdatedNov 7, 2018