Search Issue Tracker
Duplicate
Duplicate in 2023.3.X
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 -
Resolution Note (2023.3.X):
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
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
- Active Targets section text in Graph Inspector is truncated despite available space
- Burst Inspector middle divider is jittering when resized with the Burst Inspector window docked
- Shader Graph Node information is briefly displayed in Graph Inspector when clicking on Category in the Blackboard
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
This is a duplicate of issue #UUM-35844