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
- Wrong NativeName displayed when returning System.Globalization.CultureInfo("zh-TW").NativeName
- UI Toolkit ScrollView.verticalPageSize doesn't change the scrolling amount when using keyboard arrows
- Box selection in Scene View doesn't select 3D objects when GPU Resident Drawer setting is set to Instanced Drawing
- Debugger stops at commented lines of code when using ECS
- Asset preview doesn't update on changing shader's _GlobalColor property when the shader uses global uniforms
Add comment