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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment