Search Issue Tracker
Fixed in 2018.2.X
Fixed in 2018.1.X
Votes
6
Found in
2018.1.0a7
2018.1.0b1
Issue ID
983582
Regression
Yes
Random spikes in CPU usage in runtime caused by Physics.Processing
Steps to reproduce:
1. Open attached “PerformanceIssue.zip” Unity project
2. Open scene “Main”
3. Enter Play mode
4. Open Window->Profiler
Expected results:
Smooth performance with no unexpected spikes in CPU usage
Actual results:
Physics.Processing CPU usage spikes at random moments
Reproduced in: 2018.2.0a1, 2018.1.0b2, 2018.1.0a7
Didn’t reproduce in 2018.1.0a6, 2017.3.0p1
Regression introduced in: 2018.1.0a7
Fixed in: 2018.2.0a6, 2018.1.0b13
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
Hypnotoad0
May 20, 2020 10:46
I'm getting this in 2020.1.0b2
chadfranklin47
May 08, 2020 00:22
Still getting this issue in 2019.3.11 :(
ashishverma
Feb 10, 2020 06:30
I am still facing this issue in 2018.4.15 Please let me know in which version it is fixed.
xTyler73
Nov 11, 2019 20:01
I get the issue in 2019.2.11 when a large collider is colliding with a terrain collider. Even a simple cube scaled to 100 colliding with a terrain collider component causes my scene to go down to 10 fps until the rigidbody stops moving and sleeps. When the same large cube collides with another primitive or mesh collider, I remain above 300 fps.
jashan
Oct 11, 2019 22:01
Ooops, turns out that *somehow*, my Fixed Timestep had been set to a ridiculous value.
jashan
Oct 11, 2019 13:56
I'm seeing something that seems to be this same issue, or at least similar symptoms: I have a scene in Unity 2019.1.14f1, and it does not have any physics objects (Colliders or Rigidbodies). Now, when I add a single object with two Rigidbodies with a Collider, I get 400 calls to "Physics.Processing" *each frame*, that add up to about 80ms.
In the Physics profiler, it shows Rigidbody: 2. Zero active dynamic, zero active kinematic, zero static colliders. Everything zero, except those two Rigidbodies.
Without any physics objects, I get a decent frame time of roughly 6ms. Adding just a single object causes that scene to no longer be playable in VR.
autumn_737
Sep 03, 2019 00:18
Spikes present in Unity 2018.4.8.f1
laeusnb
Aug 16, 2019 23:21
Issue is back on Win10 standalone builds on 2018.4.2f1. Maybe something to do with deleting game objects with rigid bodies.
skirners1
Jul 29, 2019 07:42
It seems like the issue is back in 2018.4.2... :-( At least on iPhone 7+ builds...
blackbird
May 18, 2019 18:53
any idea how to fix this without updating the engine ?