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