Search Issue Tracker
Fixed
Fixed in 2022.3.X, 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
- ScrollView clips content when under an ancestor that has a filter set
- "Retrieving array element that was out of bounds" error thrown when attempting to remove a column from a Multi-Column List View
- Multi-Column List View horizontal scroll resets to left most position when scrolling vertically
- Floating License is lost for concurrent jobs
- Warning "Failed to insert item" is logged when Assigning Project to Organization's Project in the Project Settings
Resolution Note:
Unable to reproduce this on current Unity 6 or 2022.3 builds.
Resolution Note (fix version 2022.3.62f1):
Unable to reproduce this on current Unity 6 or 2022.3 builds.