Search Issue Tracker

Fixed in 2021.1.X

Duplicate in 2021.3.X

Votes

0

Found in

2019.4

2021.1

2021.2.11f1

2021.3

2022.1

2022.2

Issue ID

1402978

Regression

No

Semaphore.WaitForSignal degrades Editor performance when entering Play Mode

Profiling

-

How to reproduce:
1. Create a new empty project
2. Open the Profiler window (Window -> Analysis -> Profiler)
3. Enter Play Mode
4. Focus the Profiler Window

Expected result: Stable and consistent performance of the Editor
Actual result: Semaphore.WaitForSignal degrades the performance of the Editor

Reproducible with: 2019.4.38f1, 2021.1.21f1, 2021.3.1f1, 2022.1.0f1, 2022.2.0a11
Not Reproducible with: 2020.3.33f1, 2021.1.22f1, 2021.1.28f1

Note:
- Using the VR Template, performance is twice as bad
- Performance of the PlayerLoop in 2021.3 sways between 10.0ms and ~15.0ms
- Performance of the PlayerLoop in 2022.1 is significantly better, but performance is still visibly affected (~5.0ms)
- Performance of the PlayerLoop in 2021.1.28f1 sways between 0.3ms and 3.0ms

  1. Resolution Note (fix version 2021.1):

    Fixed in: 2021.1.22f1

Comments (3)

  1. LordCainen

    Jul 20, 2023 13:56

    I am encountering this same performance issue in 2022.3.5 lts as well.

  2. BrianDuffyGames

    Jan 19, 2023 20:10

    Seconding the above comment, what's going on with bug fixes not being carried forward to newer versions?

  3. Charlicopter

    May 08, 2022 21:04

    This bug has crippled my project (I'm on 2021.3 LTS + OpenXR) - Is there a way to get information as to if/when the fixes will come to LTS? I'm not sure I understand why 2021.1 got the fix, but not 2021.3...

Add comment

Log in to post comment