Crash when enabling deferred physics creation

Hello,

When spawning vehicles with the deferred physics creation feature enabled the game crashes with

Assertion failed:
UpdatedPrimitive->GetBodyInstance()->IsDynamic()
[…/Engine/Plugins/Runtime/PhysXVehicles/Source/PhysXVehicles/Private/WheeledVehicleMovementComponent.cpp]
[Line: 240]

Reproduction Steps:

  1. Setup default Vehicle Project
  2. enable deferred Physics creation by typing p.enabledeferredphysicscreation = 1 into console
  3. spawn a vehicle

Attached is small blueprint that spawns a vehicle.

blueprint

Hello,

We’ve made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

Thanks