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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note (fix version 6000.2.6f1):
Multibox Pruning Boradhase has been added. (Edit -> Project Settings -> Physics -> Settings -> GameObject -> Broadphase Type)