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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment