Search Issue Tracker
Fixed
Fixed in 6000.0.59f1, 6000.2.6f1, 6000.3.0b2, 6000.4.0a1
Votes
0
Found in
6000.0.54f1
6000.1.13f1
6000.2.0b11
6000.3.0a3
Issue ID
UUM-112553
Regression
No
Performance dropping when using Automatic Box Prunning or Sweep and Prune instead of Multibox Pruning Broadphase
How to reproduce:
1. Open the project “IN-109181_ccd_repo”
2. Make sure Automatic Box Prunning is selected, Edit → Project Settings → Physics → Broadphase Type
3. Open the Profiler, Window → Analysis → Profiler
4. Enter Play Mode
5. In the Profiler → Main Thread, observe the Physics.Simulate method
Expected result: The Physics.Simulate method should fluctuate around 1-1.5ms (in rare cases more)
Actual result: The Physics.Simulate method is mostly in the range of 2.5-3ms (in rare cases more)
Reproducible with: 2022.1.0a1, 2022.3.64f1, 6000.0.54f1, 6000.1.13f1, 6000.2.0b11, 6000.3.0a3
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Notes:
- In versions 6000.0+ Multibox Pruning Broadphase is not available, however Sweep and Prune is. Automatic and Sweep behave about the same 2.5ms-3ms (in rare cases more)
- Using Multibox Pruning Broadphase does not produce the issue and the Physics.Simulate sits around 1-1.5ms (in rare cases more)
- In older versions such as 2022.1.0a1, Physics.Simulate does not exist, but seems that Physics.Processing is doing the same thing. It also exhibits the same performance drops as Physics.Simulate
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
- “Open” button in Inspector does not function for certain Assets
- Channel remapping dropdown in the Terrain Layer does not open when clicked on the title
- The Editor freezes indefinitely when a large number of elements are entered in the Subgraphs or Categories lists
- Some Visual Effects package Assets links to documentation are not working
- Heatmap asset’s documentation button in the Inspector window leads to “Sorry... that page seems to be missing!” page when clicked
Resolution Note (fix version 6000.2.6f1):
Multibox Pruning Boradhase has been added. (Edit -> Project Settings -> Physics -> Settings -> GameObject -> Broadphase Type)