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
- 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
This is a duplicate of issue #1277222