Not signed in
Copyright © 2026 Unity Technologies
Steps to reproduce in Stars Reach project:
Note: If the /spawn command does nothing, you'll need to reach out to PlayableWorlds with your character name to get permissions added to your account.
Steps to reproduce without Stars Reach project:
Note: these steps do not reproduce the issue.
1. Enable "Incremental Dynamic Broadphase" on the Physics Step component
2. Attach a PhysicsBodyAuthoring component to a gameObject and set its MotionTypes to "Kinematic body"
3. Destroy the physics body at runtime
4. Observe an IndexOutOfRangeException in the console
Exception:
IndexOutOfRangeException: Index 1 is out of range of '1' Length. Unity.Collections.NativeArray`1[T].FailOutOfRangeError (System.Int32 index) (at <f7237cf7abef49bfbb552d7eb076e422>:0) Unity.Physics.DispatchPairSequencer+CreateDispatchPairPhasesJob.FindFreePhaseDynamicStaticPair (Unity.Collections.NativeArray`1[T] rigidBodyMask, System.Int32 bodyIndexA, System.Int32 lastPhaseIndex, Unity.Collections.NativeArray`1[T] phaseLookupTableDynamicStaticPairs, System.Boolean useTable) (at ./Library/PackageCache/com.unity.physics@1.3.2/Unity.Physics/Dynamics/Simulation/Scheduler.cs:1170) Unity.Physics.DispatchPairSequencer+CreateDispatchPairPhasesJob.CreateDispatchPairPhasesJobFunction (Unity.Collections.NativeArray`1[T] phaseLookupTableDynamicDynamicPairs, Unity.Collections.NativeArray`1[T] phaseLookupTableDynamicStaticPairs, Unity.Collections.NativeArray`1[T] dispatchPairs, System.Int32 numDynamicBodies, System.Int32 numPhases, Unity.Collections.NativeArray`1[T] phasedDispatchPairs, System.Int32& numActivePhases, System.Int32& numWorkItems, Unity.Collections.NativeArray`1[Unity.Physics.DispatchPairSequencer+SolverSchedulerInfo+SolvePhaseInfo]& phaseInfo, System.Boolean useTables) (at ./Library/PackageCache/com.unity.physics@1.3.2/Unity.Physics/Dynamics/Simulation/Scheduler.cs:914) Unity.Physics.DispatchPairSequencer+CreateDispatchPairPhasesJob.Execute () (at ./Library/PackageCache/com.unity.physics@1.3.2/Unity.Physics/Dynamics/Simulation/Scheduler.cs:808) Unity.Jobs.IJobExtensions+JobStruct`1[T].Execute (T& data, System.IntPtr additionalPtr, System.IntPtr bufferRangePatchData, Unity.Jobs.LowLevel.Unsafe.JobRanges& ranges, System.Int32 jobIndex) (at <f7237cf7abef49bfbb552d7eb076e422>:0) Unity.Jobs.JobHandle:ScheduleBatchedJobsAndComplete(JobHandle&) Unity.Jobs.JobHandle:Complete() ...
Actual results: IndexOutOfRangeException
Expected results: No exceptions
Reproducible with versions: 1.3.2 (2022.3.18f1)
Not reproducible with versions:
Can’t test with versions:
Tested on (OS): Windows 11
Sign in to see your voted issues