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
- Selection in Entities Archetypes window changes when "Show Empty Archetypes" is toggled
- NullReferenceException is thrown when assigning a Lens Flare SRP asset to a Lens Flare Data SRP element
- [Linux] “Toggle Sprite Editor locks” button icon is blurry in Sprite Editor window
- There is no space after the “official forum” hyperlink in the Universal 3D samples template’s tutorials when the Support tutorial step 3 is opened
- Universal 3D samples template’s documentation link is plaintext and does nothing when clicked in the “Sky and fog” tutorial
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.