Search Issue Tracker
By Design
Votes
1
Found in
4.3.0f4
Issue ID
576770
Regression
No
Depth only camera clear flag together with image effect greatly reduce FPS on the device
Using image effects (in this case Grayscale Effect) together with the "Depth only" camera clear flag drastically reduces FPS on the device. The application has 60 fps with "Solid Color" clear flag, however with the "Depth only" clear flag it has only 3 fps. It is a regression on some of the devices. With Unity 4.2.2f1 the fps dropped to 15-25 on the Google Galaxy Nexus, but with Unity 4.3.4f1 it drops all the way down to 3 fps. On the other hand on Google Nexus 5 the fps drops to 3 in both Unity 4.2.2f1 and 4.3.4f1.
Reproduced on:
Google Nexus 5 with Android 4.4
Google Galaxy Nexus with Android 4.3
Reproduced with:
Unity Version 4.3.1f1 (cebd4d9b5122)
[Edit]
The workaround the user found in this case was to use a single camera and to render the image as a quad. By using a single camera, they avoided the 'Depth-only clear' which is slow on this hardware.
Resolution:
This is expected behavior. Clearing depth only means that the GPU must do framebuffer unresolve in order to retain the previous color surface contents.
Add comment
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
KuangZheng
Jul 31, 2014 00:55
Is there any way to add image effect in Depth only camera without performance problem?