Search Issue Tracker
Won't Fix
Votes
0
Found in
5.2.0f2
Issue ID
722999
Regression
Yes
[SurfaceShader] LightToTangent space optimization got lost in 5.0, GPU rendering slower than with Unity 4.6
How to reproduce:
1. Open attached project in 4.6
2. Build to iOS and run
- Note the frame time in the FPS debug window in Xcode
3. Open project in the latest version of Unity
4. Build to iOS and run
- Note how the frame time is 50 to 90 percent larger than in 4.6
By Design:
- One of the reasons of the performance drop is caused by the way Surface Shaders are compiled in 5.0.
- Light calculations are now always performed in world space, allowing non-uniformly scaled objects to be rendered correctly. That results in additional shader operations in the pixel shader.
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