Search Issue Tracker
Fixed
Fixed in 2023.2.5f1, 2023.3.0a19
Votes
1
Found in
2023.2.0f1
2023.3.0a15
Issue ID
UUM-57939
Regression
Yes
PhysX error is thrown when writing to Physics.gravity
Reproduction steps:
1. Open the attached “unity-physics-gravity-bug.zip” project
2. Open the “Assets/Scenes/SampleScene.unity” scene
3. Enter the Play Mode
4. Click the “Click to Crash” button
5. Observe the Console window
Expected result: No error is thrown
Actual result: Physics.PhysX error is thrown
Reproducible with: 2023.2.0a12, 2023.2.0f1, 2023.3.0a15
Not reproducible with: 2021.3.32f1, 2022.3.14f1, 2023.2.0a11
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Error:
[Physics.PhysX] Command Body::WakeUp is not supported on PxRigidDynamic instances with physx::PxRigidBodyFlag::eKINEMATIC flag set.
UnityEngine.Physics:set_gravity (UnityEngine.Vector3)
BugRepro:OnClick () (at Assets/BugRepro.cs:11)
UnityEngine.EventSystems.EventSystem:Update ()
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
Add comment