Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2018.4.X, 2019.4.X, 2020.2.X
Votes
1
Found in
2019.4
2019.4.8f1
2020.1
2020.2
Issue ID
1277144
Regression
No
[Vulkan][Metal]Shader compilation fails when building for Android or IOS with Vulkan or Metal graphics API
Steps to reproduce:
1. Open user's attached project "Shapes.zip"
2. Built it for Android
3. Notice that builds freezes when compiling shaders or the build finishes with errors related to shaders in the console
Expected results: Shaders compiler and build successfully
Actual results: Shaders fail to compile while building
Reproducible with: 2019.4.9f1, 2020.1.6f1, 2020.2.0b2
Unable to test with: 2018.4 due to errors in the project
Note:
-Build freezes in unity 2019.4, Unity 2020.1, and 2020.2 just throws errors in the console
-Main error: "Shader error in 'Shapes/Regular Polygon Additive': "
-Does not reproduce with Windows Standalone platform
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
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
- Character animation freezes when toggling animator on/off in a coroutine
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
Resolution Note (fix version 2020.2):
Fixed in 2020.2.3f1
Resolution Note (fix version 2019.4):
Fixed in 2019.4.19f1