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
- NullReferenceException error is thrown when unpacking multiple instances of the same UI Document
- URP Decal Projectors don't render when they are hidden in the Hierarchy, unlike other GameObjects
- Reflection Probe “adjusting number of stops to over or under expose the texture” setting does not update in Scene realtime
- UI Toolkit rendered text breaks when toggling FontWeight styles through code
- Transparent pixels are still hit when alphaHitTestMinimumThreshold is set to a non-zero value
Resolution Note (2019.2.X):
This should do a workaround:
https://forum.unity.com/threads/better-control-of-load-store-actions-for-camera.572749/