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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
Resolution Note:
This issue is fixed in 6.X versions. We no longer support 2021LTS and 2022LTS versions.