Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2019.4.X, 2020.3.X, 2021.2.X
Loading shader is picked when allowAsyncCompilation = false and async compilation is ongoing
The cyan loading shader would in some cases leak into baked reflection probes. This problem may be a general shader/material problem. From studying the reflection probe behaviour, it seems that the loading shader is sometimes picked for drawing in cases where allowAsyncCompilation = false and async compilation is already ongoing. According to the semantics of allowAsyncCompilation this should not happen.
This issue does not reproduce on trunk as of Sep 24th. Repro verified in BiRP and URP. HDRP was not tested.
Remark 1: The reason that the scene view must be visible in the repro is probably that this triggers the asynchronous compilation. If you bake a reflection probe without triggering an asynchronous compilation (e.g. by hiding scene and game view) then the issue does not happen.
Remark 2: If you cannot repro the issue, you can try to clear the GI cache.
CyanLeak.zip: A simple Unity project that contains a sphere and reflection (as described in the repro above).
cyan-leak.mov: A video showing the repro in action.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
- Pressing Control when the Scene View is in focus logs a "CommandBuffer: temporary render texture not found while executing" warning
- [Android] UI is being scaled up on some Android devices when the referenced resolution in the "Canvas Scaler" component is larger than the actual screen resolution of the device
- Resizing the Scene View causes the Editor to lag when the Canvas contains many items and it's Rect Transform size is changed
- Gizmo Settings Menu overflows to another monitor when the Scene View is expanded
- [Android] Sprite transparency does not work when using RGB ETC1 format and a warning is shown "Cannot compress to ETC1. The split alpha channel and compression to ETC1 requires a packing tag."