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
- Changing "PreWarm" parameters on VFX Graph leads to significant performance drops and freeze
- Player display resolution changes to the native resolution of the monitor when Player becomes unresponsive
- [Quest] Game View is no longer rendered in the HMD if it's hidden in the Editor when using Meta Link
- Unity auto-generates code it can't compile when classes are renamed
- Terrain's "Grass Tint" Color picker has Alpha 0 by default
Add comment