Search Issue Tracker
Fixed in 2022.3.58f1
Fixed in 2022.3.X, 6000.0.X, 6000.1.0b5, 6000.2.X, 7000.0.0a18, future release
Votes
0
Found in
2022.3.46f1
6000.0.19f1
6000.1.0a7
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
- “InvalidOperationException” errors spammed in the Console when converting Sample Scene to Sub Scene and Entities Hierarchy window is open
- Using Physics.ComputePenetration on a Capsule collider causes it to sometimes return incorrect value when dragging it through the Mesh collider
- Cinemachine Camera with Position Composer causes visual jitter when following a moving target
- Errors thrown in console when entering Play mode if an object with an Audio Source component is selected
- Editor hangs when a huge mesh is used for CanvasRenderer
Add comment