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

Shader System

-

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

  1. Resolution Note (fix version 2020.2):

    Fixed in 2020.2.3f1

  2. Resolution Note (fix version 2019.4):

    Fixed in 2019.4.19f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.