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
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
Add comment