Search Issue Tracker
By Design
Votes
0
Found in [Package]
12.1.11
14.0.7
15.0.5
16.0.1
Issue ID
SGB-574
Regression
No
Shader Graphs are rendered black in the Game window when applied to Image GameObjects
Reproduction steps:
1. Open the attached “UGUI Image shader graph bug report1.zip“ project
2. Open the “Scene” scene
3. Observe “RawImage” and “Image” GameObjects in Scene and Game windows
Expected result: “RawImage” and “Image” GameObjects are red in both windows
Actual result: “RawImage” and “Image” GameObjects are red in the Scene window and black in the Game window
Reproducible with: 12.1.11 (2021.3.25f1), 14.0.7 (2022.2.20f1), 15.0.5 (2023.1.0b17), 16.0.1 (2023.2.0a15)
Could not test with: 2020.3.48f1 (“Cannot find the code for this Target, a package may be missing” warning)
Reproduced on: macOS Ventura 13.3.1 (Intel), Windows 10 (by the reporter)
Note: Not reproducible in Build
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
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
Resolution Note:
Please look forward to a Canvas material SubTarget for URP/HDRP/Built-In as of the upcoming 23.2 beta release (it may already be in latest alpha).