Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2020.1.X, 2020.2.X
Votes
0
Found in
2018.4
2020.2
Issue ID
1276366
Regression
No
[Shaders] Compute shader preprocessor warnings and errors don't get forwarded to the Console Window
Reproduction steps:
1) Create a ComputeShader asset
2) Add line "#pragma exclude_renderers asdfasdf0" to the source of the asset (the code)
Reproducible with: 2018.4.27f1, 2019.3.0a1, 2019.4.10f1, 2020.1.5f1, 2020.2.0b2
Expected Result: a warning about bad pragma arguments in the Console Window similar to what you would get by putting the same line in a graphics shader
Actual Result: no warning about malformed pragma syntax in the Console Window
Note: the example of how the Compute Shader code could look is in "SCRCMPT.png" below
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
- SystemInfo.get_graphicsDeviceName() is generating garbage GC Alloc when using Metal graphics API
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0a1.495
Resolution Note (fix version 2020.2):
Fixed in 2020.2.0b7.3288
Resolution Note (fix version 2020.1):
Fixed in 2020.1.10f1.4666