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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Resolution Note:
Unable to reproduce this on current Unity 6 or 2022.3 builds.