Search Issue Tracker
In Progress
Under Consideration for 2022.3.X, 6000.1.X, 6000.2.X
Votes
0
Found in
2022.3.53f1
6000.0.28f1
6000.1.0a5
6000.2.0a1
Issue ID
UUM-87609
Regression
No
"Undeclared identifier 'LinearToSRGB'" error is thrown when creating a color variable with HDR color mode and assigning a Custom Render Texture target in Shader Graph
How to reproduce:
1. Create a new empty URP project
2. Import the attached “BrokenShader.shadergraph” file
3. Observe the Console Window
Expected result: No errors are shown in the Console
Actual result: an “undeclared identifier ‘LinearToSRGB'“ error is shown in the Console
Reproducible in: 2022.3.53f1, 6000.0.28f1, 6000.1.0a5
Could not test with: 2021.3.46f1 (Custom Render Texture target does not exist)
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Note: Changing the “Color” variable’s Color Mode (under node settings) to “Default”, or removing the Custom Render Texture target (under Graph Settings) will remove the error
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
Add comment