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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment