Search Issue Tracker
Fixed in 2023.1.0b13
Fixed in 2023.1.X, 2023.2.X, 2023.2.0a3
Votes
0
Found in
2021.3.11f1
2022.1.17f1
2022.2.0b8
2023.1.0a11
2023.2.0a1
Issue ID
UUM-15114
Regression
No
[HDRP] Shader errors are thrown in the Console window when switching to an unsupported Platform in Build settings
How to reproduce:
1. Create a new project using 3D Sample Scene (HDRP) Template
2. Go to File > Build Settings and switch to Android or WebGL Platform
3. Observe the Console window
Expected results: Only the "Platform Android is not supported with HDRP." error is present in the Console window
Actual results: Shader errors are spammed in the Console window
Reproducible with: 10.10.0 (2020.3.40f1), 12.1.7 (2021.3.11f1), 13.1.8 (2022.1.17f1), 14.0.3 (2022.2.0b8), 15.0.1 (2023.1.0a11)
Notes:
- No shader errors are spammed in the Console when the project is switched to the iOS Platform
- Reproducible with Android and WebGL Platforms
- Errors:
"Shader error in '[ButterFlies] [System] Update Particle': syntax error: unexpected token '#' at kernel CSMain at (59)/Library/PackageCache/com.unity.render-pipelines.high-definition@12.1.7/Runtime/ShaderLibrary/ShaderVariablesFunctions.hlsl(119) (on gles3)"
"Shader error in '[FallingLeaves] [System] Initialize Particle': syntax error: unexpected token '#' at kernel CSMain at (59)/Library/PackageCache/com.unity.render-pipelines.high-definition@12.1.7/Runtime/ShaderLibrary/ShaderVariablesFunctions.hlsl(119) (on gles3)"
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Animator state transition preview clips are flickering when zooming in
- [Tile Palette] Sprites not rendering when brush tool "Paint a filled box with active brush" is used for the first time
- Adding available Nodes with longer names in Fragment Context window overflow Fragment Context window in Shader Graph
- Longer Shader Graph Property Reference names breaks VFX Graph Output Particle Node
- "DebugAllocatorMode" option changes when changed in another Editor instance
Add comment