Search Issue Tracker
Won't Fix
Votes
15
Found in
2018.3.0a5
2018.3.3f1
2019.1.0a2
2019.2.0a1
Issue ID
1122594
Regression
Yes
Active Constraints number spikes inside profiler when Rigidbodies are rolling
Reproduction steps:
1. Open the stripped project inside "1122594_repro.zip"
2. Open the Profiler window together with Physics category and tick only "Active Constraints"
3. Open and Play "SampleScene"
Expected: "Active Constraints" inside the profiler displays correct information
Actual: "Active Constraints" number spikes irrationally
Reproduces on: 2018.3.0a5, 2018.3.5f1, 2019.1.0a2, 2019.1.0b3, 2019.2.0a1, 2019.2.0a4
Does not reproduce on: 2017.4.20f1, 2018.3.0a4, 2019.1.0a1
Note:
- The spike usually shows 65.5k, which seems like the max value of an unsigned short data type
- No actual performance drop
-
RtsDimon
Jul 19, 2021 09:04
Same problem in 2020.3.1f1
-
JJRivers
Dec 09, 2020 09:32
Getting similar active constraints spikes to 65.5k WITH performance drops. When these happen i'm not seeing any obvious cause for them in the Physics Debugger visualization either. In Unity 2020.1.6f1
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (2021.2.X):
We decided that this metric has been too unstable and difficult to make use of, therefore we are removing it from the default Physics Profiler module for the time being.