Search Issue Tracker
Active
Under Consideration for 2022.3.X
Votes
3
Found in
2022.3.26f1
Issue ID
UUM-71322
Regression
Yes
[BiRP SG] Multiple errors appear when compiling a ShaderGraph shader's code in a specific project
Reproduction steps:
1. Open the attached “ASDQWE” project
2. In the Project Window, select the “Assets/Shader Graph/Color Changing Shader Graph2.shadergraph” ShaderGraph
3. In the Inspector Window, press the “Compile and show code” button
4. Observe the logs below the button
Expected result: There are no errors
Actual result: There are multiple errors and warnings
Reproducible with: 2022.1.0a9, 2022.3.26f1, 2023.1.0a18
Not reproducible with: 2021.3.38f1, 2023.1.0a19, 6000.0.0f1
Could not test with: 2022.1.0a1-2022.1.0a8 (Multiple compilation errors with the Addressable package)
Reproducible on: MacOS Sonoma 14.4.1 (Intel), Windows 10 (user’s)
Not reproducible on: No other environment tested
Notes:
- Not reproducible when other than the Android build platform is selected
- Not reproducible with a blank project with the same ShaderGraph
- The errors are visible when compiling the ShaderGraph for “All platforms”, “Current build platform”
- The errors are not thrown when other than the Android build platform is selected
- Errors in the Shader:
'SAMPLE_DEPTH_TEXTURE': Too few arguments to a macro call.
undeclared identifier 'SAMPLE_DEPTH_TEXTURE_PROJ'
invalid subscript 'vec'
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
- SpeedTree does not move when using WindZone
- "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
- Input System package is missing when creating a new HDRP project
- Inconsistent behaviour when interacting with different dropdown types with pointer events on parent Visual Element
- Hidden GameObjects won't re-enable when they have call "DontDestroyOnLoad" function
mammar-lion
Oct 15, 2024 16:10
Hi,
Is there any update on this issue or any ETA when it is going to be resolved.