Search Issue Tracker
Duplicate
Votes
0
Found in
2021.3.29f1
2022.3.8f1
2023.1.10f1
2023.2.0b6
2023.3.0a2
Issue ID
UUM-46582
Regression
No
A Shader error is thrown in the Console when the line after an #include directive is not followed by a comment or a #define directive in a Compute Shader file
Reproduction steps:
1. Open the "IN-51499.zip" project
2. Open the "Assets/Shaders/TerrainTreeStamp.compute" file
3. Delete line 6 and observe the Console
Expected results: No error is thrown in the Console
Actual results: A Shader error is thrown in the Console
Reproducible with: 2021.3.29f1, 2022.3.8f1, 2023.1.10f1, 2023.2.0b6, 2023.3.0a2
Reproducible on: macOS 13.4 (M1), Windows 10 (reported by the user)
Not reproducible on: No other environment tested
Full error: "Shader error in 'TerrainTreeStamp': undeclared identifier '_AppendTrees' at kernel CSStampTrees at TerrainTreeStamp.compute(9) (on metal)"
-
Resolution Note:
null
Duplicate of https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-35030
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
- Flickering bright white dots in the Scene when the Android Platform is selected and DX11 Graphics API is used with Iris(R) Xe Graphics GPU
- Inconsistent capitalization and misaligned text in multiple query blocks in Search window
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- WebGL sends wrong value with large numbers when SendMessage function is used
This is a duplicate of issue #UUM-35844