Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2020.3.X, 2021.2.X
Votes
0
Found in
2019.4
2020.3
2020.3.18f1
2021.2
2022.1
Issue ID
1379259
Regression
No
[Android] SV_Coverage gets mistranslated from HLSL to GLSL when compiling and causing a compile error
Reproduction steps:
1. Open the attached project "SV_Coverage gets mistranslated from HLSL to GLSL.zip"
2. Switch to Android Platform in the Build Settings
3. Go to Assets > Shaders and select the "CoverageMask_CompilerBug" shader
4. In the Inspector window click Compile
Expected result: The shader compiles with no errors
Actual result: Shader Compiler errors appear in the Console window
Reproducible with: 2019.4.32f1, 2020.3.23f1, 2021.2.3f1, 2022.1.0a15
Notes:
-The issue is not reproducible on Standalone and IOS platforms
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
- [Android][BiRP] Depth processing is handled incorrectly on certain Android devices when using 2 camera's
- [APV] Cancelling Display Dialog Error is thrown after Adaptive Probe Volumes tab is open in Lighting Window
- [APV] NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
- "OnTriggerExit2D" is called before "OnTriggerEnter2D" when object is destroyed immediately
Resolution Note (fix version 2022.1):
SV_COVERAGE should no longer crash when used as a fragment input
Fixed in 2022.2.0a1
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0b5
Resolution Note (fix version 2021.2):
Fixed in 2021.2.9f1
Resolution Note (fix version 2020.3):
Fixed in 2020.3.27f1