Search Issue Tracker
Fixed
Postponed in 2022.3.X
Fixed in 6000.1.0b7, 6000.2.0a4
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
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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Resolution Note (2022.3.X):
Postponing; will batch forward port in the future.