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
- Constant console errors when using Min/Max Slider in PlayMode
- The global scene list is overridden in a project built with command line when the Override Global Scene List setting is disabled in the build profile
- [Linux] AutoLocale log is logged when opening a project
- Global Scenes are not included in the Build when building multiple Build Profiles at the same time
- [iOS] WebCamDevice.availableResolutions returns a single resolution with width and height both 0 on some iOS devices
Add comment