Search Issue Tracker
Won't Fix
Votes
3
Found in
2021.3.43f1
2022.3.44f1
Issue ID
UUM-78945
Regression
No
Crash on "physx::Scb::Body::addSpatialAcceleration" when transitioning to another scene in the Play Mode
How to reproduce:
1. Open the “AddForceAtPositionCrash“ project
2. Open the “SampleScene“
3. Open the “SceneTransition“ GameObject in the Inspector
4. Enter the Play Mode
5. In the “Scene Transition (Script)“ component toggle on the “Transition Scene“ property
6. Observe the crash
Reproducible with: 2021.3.43f1, 2022.3.44f1, 2023.3.0a19
Not reproducible with: 6000.0.17f1
Fixed in: 2023.3.0b1
Reproducible on: macOS 14.5 (Intel), Windows 10 (User’s)
Not reproducible on: No other environments tested
Notes:
- Reproduces on a fresh project
- Reproduces in the Player (see more in the comments)
- The crash is caused by the “Rigidbody.AddForceAtPosition“ method
First few lines of the stack trace:
#0 0x0000010c9b7b88 in physx::Scb::Body::addSpatialAcceleration(physx::PxVec3 const, physx::PxVec3 const)
#1 0x0000010c9a51e5 in physx::NpRigidBodyTemplatephysx::PxArticulationLink::addSpatialForce(physx::PxVec3 const, physx::PxVec3 const, physx::PxForceMode::Enum)
#2 0x0000010c9a4ddc in physx::NpArticulationLink::addForce(physx::PxVec3 const&, physx::PxForceMode::Enum, bool)
#3 0x0000010a2575ea in Unity::ArticulationBody::AddForceAtPosition(Vector3f const&, Vector3f const&, Unity::Physics::ForceMode)
#4 0x00000109788dd1 in ArticulationBody_CUSTOM_AddForceAtPosition_Injected(ScriptingBackendNativeObjectPtrOpaque*, Vector3f const&, Vector3f const&, Unity::Physics::ForceMode)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- After converting a Built-in project to URP render texture related errors are spammed that can lead to Game view being rendered on top of Scene view
- UI Builder slider value lags and stutters when sliding/modifying certain property values
- "Reset UI Builder Layout" functionality inconsistently changes Canva Size when "Match Game View" is enabled/disabled
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
- Burst Inspector middle divider is jittering when resized with the Burst Inspector window docked
Resolution Note:
This issue is fixed in 6.X versions. We no longer support 2021LTS and 2022LTS versions.