Search Issue Tracker
Duplicate
Votes
1
Found in
2020.2.0a15
2021.1
2021.2
2021.2.0a7
Issue ID
1318869
Regression
Yes
Game performance regression with Semaphore.WaitForSignal when rendering a scene
Reproduction steps:
1. Open the user's attached project in 2020.2.0a14 or on an older Unity version
2. Open scene "SampleScene"
3. In the Game window, enable Stats on the top right corner of the window
4. Enter Play Mode and note the framerate
5. Repeat the same steps with 2020.2.0a15 or on a newer version and compare the results
Expected result: Framerate displayed in the Statistics is roughly the same in both versions
Actual result: Framerate is significantly lower in newer Unity versions (the difference can be 50-70FPS )
Reproducible with: 2020.2.0a15, 2021.1.0b10, 2021.2.0a7
Not reproducible with: 2018.4.32f1, 2019.4.21f1, 2020.2.0a14
Tested with:
Intel(R) Xeon(R) W-2145 CPU @ 3.70GHz, NVIDIA GeForce GTX 1080, Windows 10
1,6 GHz Dual-Core Intel Core i5, Intel UHD Graphics 617 1536 MB, MacBook Air (Retina, 13-inch, 2019)
Note:
- Reproduced on Windows and macOS
- Reproduced using Direct3D11, Direct3D12, Vulkan, OpenGLCore
- Reproduced with built-in RP, HDRP, URP
- From the Profiler data, the issue seems to be reproducible in builds as well
- From the Profiler data, with built-in RP, Semaphore.WaitForSignal or Camera.Render seems to be making the biggest difference
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
This is a duplicate of issue #1277222