Search Issue Tracker
Fixed
Fixed in 2022.3.62f1
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'
Comments (1)
-
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.
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
- ”Last item reached” warning is thrown when no search results are found in UI Toolkit Layout Debugger
- UI Elements overlap in the Shortcuts window when docked and resized to a smaller window size
- UIBuilder DataSourcePath dropdown fails to show properties when binding to abstract classes
- Errors are logged when importing an asset at a path with Firebase
- Entering too big of a number in 2D Renderer Lightmode Tags freezes the Editor
Resolution Note:
Unable to reproduce this on current Unity 6 or 2022.3 builds.