Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
10.2.0
Issue ID
1295594
Regression
No
[IOS]ShaderVariantCollection.WarmUP takes more then 2 time longer to execute compared to Android
Steps to reproduce:
1. Open the attached project "Case_1295594"
2. Build it to IOS and Android
3. In the top left corner press the button "warmup"
4. Compare the "Collection.WarmUp cost:" in Xcode and Android LogCat from the devices
Expected results: Shader WarmUp function takes a similar amount of time on mobile devices
Actual results: Shader WarmUp function takes twice or more time to execute on IOS compared to Android
Reproducible with: 2019.15f1, 2020.1.16f1, 2020.2.0b13, 2021.1.0a8
VLNQA00189 iPhone SE 11.4.1 -157.8522ms
VLNQA00201 iPad mini 4 11.4 - 186.2178ms
Note: Unable to test with 2018.4 due to project breaking. A screenshot of the results is attached
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note:
Xcode instruments show most of the time spent in metal itself and our side of the code is fine. To improve this offline shader compilation would be required, which we currently do not support. And as that task would require substantial rework of current systems, we are closing this case as won't fix