Quick answer: Unreal Blueprint SpawnActor for an actor with physics failing during init due to missing world context? Use SpawnActorDeferred + SetPhysicsEnabled in post-init.
Spawn a falling debris actor; physics not enabled; debris floats.
Defer physics enable
Actor = SpawnActorDeferred(...);
Actor->SetPhysicsSimulationEnabled(true);
FinishSpawningActor(Actor, Transform);Physics enabled after world is properly attached.
Or use BeginPlay
Physics enable in BeginPlay; runs after spawn complete.
Audit physics-spawning code
Each spawn that needs physics; verify timing.
“Spawn ordering matters for physics. Defer for safety.”
Build a SafeSpawnPhysics helper. The defer pattern is encapsulated; reusable.