Search Issue Tracker

Third Party Issue

Votes

0

Found in

2018.4

2018.4.19f1

2019.4

2020.1

2020.2

Issue ID

1300142

Regression

No

[iOS] Subsequent ShaderVariantCollection.WarmUp() shader compiling takes longer when using iOS 14 devices

Mobile

-

Reproduction steps:
1. Download and open the attached "ios14ShaderWarm.zip" project
2. Build and deploy the project
3. Close the app
4. Deploy the project
5. Observe the Xcode console window

Expected result: Shader warmup compiling takes less than 1 second
Actual result: Shader warmup compiling takes longer than 1 second

Reproducible with: 2018.4.29f1, 2019.4.17f1, 2020.1.17f1, 2020.2.1f1
Could not test with: 2021.1 (Build errors: "UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer")

Reproduced with: iPhone 12 Pro (iOS 14.2.1)

  1. Resolution Note (2021.2.X):

    Thais is the issue with running from xcode on ios14. Apple confirmed it will be fixed in some upcoming version

Comments (1)

  1. IainTTGilfeather

    May 20, 2021 08:55

    We've discovered that this only happens when playing from Xcode, Launching from device after an initial run does a quick shader warmup.

    So this is no longer a bug for us.

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.