Search Issue Tracker
Won't Fix
Votes
1
Found in
2018.1.0b10
Issue ID
1014075
Regression
No
[Metal] Depth&Stencil attachments of the system frame buffer could not be discarded
To reproduce:
1. Open user's attached project
2. Build "MainScene" for iOS
3. Open Xcode project and in build settings set Bitcode to NO
4. Run built project on the device
5. In the debug navigator click on FPS
6. Click on the camera button to capture GPU frame
7. Inspect the frames
Expected result: Depth and Stencil attachments could be discarded (at least manually).
Actual result: Unity always encodes "[setDepthStoreAction:Store] [setStencilStoreAction:Store]" at the end of frame.
Reproduced with: Unity 2017.2.2p2, 2017.3.2f1, 2018.1.0b12, 2018.2.0a6
Devices: iPhone 8 iOS 11.0, iPhone 7 iOS 11.0
Comments (1)
-
colin299
Sep 20, 2018 03:02
I have the same problem also, I have written details in this post:
https://forum.unity.com/threads/metal-can-i-edit-unitys-screen-backbuffer-color-depthbuffer-load-storeaction.554449/
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
- dSYM file is not created during macOS standalone build
- Project Settings panels disappear and do not repaint when entering Play Mode without reloading Domain
- Screen Space Decals ignore Rendering Layer Mask when using OpenGL Graphics API
- Crash on scripting_method_invoke when the Player is build before entering the Play mode in the Editor
- Tile Palette Window zoom level resets when the Window becomes inactive
Resolution Note (2019.2.X):
This should do a workaround:
https://forum.unity.com/threads/better-control-of-load-store-actions-for-camera.572749/