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
- Build fails when building a project containing an 18+ dimension array with IL2CPP
- [Android][Sentis] Human poses are not detected when using the BlazePose model
- Sprite Editor Outline Tool Overlay is not displayed when no Sprite is selected
- “No method with RuntimeInitializeOnLoadMethod attribute” warning from ReadmeEditor.cs is thrown after installing Project Auditor Rules
- Projection matrix is altered when using RasterCommandBuffer.ClearRenderTarget on DX12 and Metal
This is a duplicate of issue #UUM-35844