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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment