Search Issue Tracker
Feature Request
Under Consideration for 2021.3.X, 2022.3.X, 2023.1.X, 2023.2.X, 2023.3.X
Votes
0
Found in
2021.3.26f1
2022.3.0f1
2023.1.0b16
2023.2.0a18
2023.3.0a3
Issue ID
UUM-37408
Regression
No
Physics applied to Rigidbody is not fully disabled when setting the Rigidbody to Kinematic
How to reproduce:
1. Open the user-attached project “RigidbodyKinematicCPUTime”
2. Open the “SampleScene” scene
3. Open the Profiler by clicking Window → Analysis → Profiler
4. Enter the Play Mode
5. Observe the Physics processes under the CPU Usage field in the Profiler
Expected result: All Physics processes are not CPU heavy and are taking less than 1 ms
Actual result: Some Physics processes are loading the CPU and taking more than 30 ms
Reproducible with: 2021.3.26f1, 2022.3.0f1, 2023.1.0b16, 2023.2.0a18
Reproducible on: Windows 11 Pro
Note: Also reproducible in the Player
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note:
Hello!
We've logged this issue as a feature request, currently Rigidbody does not support enabling and disabling via script, unless the whole GameObject is disabled.
Another thing to clarify is that turning a Rigidbody component kinematic does not mean, it does not participate in the simulation step. Kinematic for rigids simply refers to the object being immovable (infinite mass). At the moment a limitation of our integration with PhysX is that we keep reading back the position and rotation of such bodies each simulation step.