Search Issue Tracker

Fixed

Votes

0

Found in

2022.2.20f1

2023.1.0b17

2023.2.0a15

Issue ID

UUM-35987

Regression

Yes

[M1] Physics.Processing spikes when using physics in the scene

--

-

Reproduction steps:
1. Open project “URP Performance Physics.zip”
2. Enter Play Mode
3. Open “Window\Analysis\Profiler”

Expected result: spikes on Physics.Processing reach around 4ms
Actual result: spikes on Physics.Processing reach around 10ms

Reproducible with: 2022.2.0f1, 2022.2.20f1, 2023.1.0b17, 2023.2.0a15
Not reproducible with: 2020.3.48f1, 2021.3.25f1, 2022.2.0b16

Reproducible on: macOS Ventura 13.0 (M1)
Not reproducible on: macOS Ventura 13.2.1 (Intel)

Notes:
- Performance spikes are gone when disabling the “Cube” Box Collider
- Reproducible with URP and HDRP
- Also reproducible in Standalone Player
- Seems to only reproduce on a freshly extracted project

  1. Resolution Note:

    Fixed by another internal issue: UUM-27803: ProcessAllPhysicsTasks calls CurrentThread::Yield, which can cause very long hangs

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.