Search Issue Tracker
Fixed in 5.4.2
Votes
4
Found in
5.1.2p3
Issue ID
761024
Regression
Yes
[iOS][Metal] Significant performance degradation in 5.4 with some custom shaders
To Reproduce:
1. Build the attached project (761024_SimpleReproProject.zip) on Unity 5.4, 5.3 & 5.1.
2. Observe that 'Fishlabs/GroundShader' is much slower on 5.4
(thee difference is more noticeable on A7 (tested mini 2 & Air 1) devices),
GPU frametimes:
--------5.1.4f1 | 5.3.1p2 | 5.4.0b2
iPad Air 1 - 5.3ms | 6.3ms | 14.9ms
iPhone 6s - 1.7ms | 1.3ms | 2.7ms
The only thing that seems to have been changed by the auto updater, when importing to 5.4:
// Upgrade NOTE: replaced '_Object2World' with 'unity_ObjectToWorld'
This can also be reproduced with other shader in 'Fishlabs' in the smaller repro project or using the full user project.
Tested with:
Version 5.4.0b2 (b1537386f494)
Sun, 10 Jan 2016 21:35:42 GMT
Branch: trunk
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [macOS] Editor window is not restored to previous position when launching the Editor and mouse cursor is on a different screen
- [Usability] Warning message in an Adaptive Probe Volume Component is not informative enough when Realtime Global Illumination is enabled
- Inspector for Adaptive Probe Volumes is not repainted when toggling Realtime Global Illumination setting in the Lighting Window
- Surface Inputs are not rendering when using the custom BaseShaderGUI
- Reflection Problem custom Cubemap loses its reference when HDR is enabled and the platform is switched
Add comment