Search Issue Tracker
Fixed
Fixed in 2022.3.58f1, 6000.0.37f1, 6000.1.0b5, 6000.2.0a1, 7000.0.0a18
Votes
0
Found in
2022.3.46f1
6000.0.19f1
6000.1.0a7
7000.0.0a1
Issue ID
UUM-79996
Regression
No
[Windows] Shaders are compiled synchronously when "Asynchronous Shader Compilation" is enabled and the Camera Overlay is invoked
How to reproduce:
1. Create and open a new project from a URP Sample Template
2. Enable the “Asynchronous Shader Compilation“ checkbox in the Project Settings > Editor
3. Focus on the Scene view tab
4. Move the Scene view Camera low on the Z axis in the Scene view (to prevent instant Shader compilation on the next step)
5. Open any other Scene in the “Assets/Scenes“ in the Project tab
6. Enable the Camera Overlay in the Scene view
7. Observe the Editor
Expected result: The “Compiling shader“ box does not pop up, but a progress bar starts loading at the bottom right (Asynchronous Shader compiling behavior)
Actual result: The “Compiling shader“ box pops up (Synchronous Shader compiling behavior)
Reproducible in: 2022.3.46f1, 6000.0.19f1
Couldn’t test in: 2021.3.43f1 (No “Compiling Shaders“ box, instead “SceneView.Repaint“ pops up)
Reproduced on: Windows 11 Pro (23H2)
Not reproduced on: macOS 14.4.1 (M2), No other environment tested
Notes:
- When “Asynchronous Shader Compilation“ is enabled, Scene view and Game view Compile shaders asynchronously as expected, only the overlay is affected
- In versions 2021.3.43f1 and 2022.3.46f1, the overlay is invoked by selecting the Camera GameObject in the Hierarchy, while in version 6000.0.19f1 there is a button in the Overlays menu (by default at the bottom) In the Scene view
- Once the shaders are compiled they are cached, the problem will not be reproducible. To be able to reproduce this issue again, the project needs to be restarted and the “Library / ShaderCache“ folder needs to be deleted beforehand
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Add comment