Search Issue Tracker

Fix in review



Found in


Issue ID




[iOS] [Metal] Depth-Only Camera blacks out screen when anti-aliasing is enabled




Priority: 3Not yet prioritized for a release


Severity: 3Workaround is possible

To reproduce:
1. Open attached project
2. Open "TestScene" scene
3. Play the scene
4. Press the Toggle Depth Camera button
5. Notice that red sphere overlayed the scene
6. Deploy to iOS device (iPhone 6 plus)
7. Press the Toggle Depth Camera button

Actual behavior: you will see the red sphere with a black background (not the same view as in step 5)

Comments (8)

  1. 9729f67710c383938d05b4f6655a5ae2?d=mm


    Jun 21, 2017 10:35

    stumbled into this one on 5.5.1
    Not able to use any anti aliasing

  2. 67bdbb1e73ae17c111b42a83166f7d64?d=mm


    May 11, 2017 07:56

    I can also reproduce this on 5.6.0f3

    For single-camera scene the (2x) msaa on metal works, but if I have multiple render targets (which have msaa disabled), screen goes black.

  3. B8ee820c67813616ba80c92494bc0963?d=mm


    Feb 27, 2017 16:19

    Confirmed on Unity 5.6.0b9 -- removing antialiasing allows metal to render the objects normally, but, of course, a bit blocky... :-(

  4. Ce27a2fde888643f80442616331f94bb?d=mm


    Feb 03, 2017 09:43

    Yeah massive problem - should be highest severity because it looks soooooo bad that what you seen in editor is not what you see on device. Change to OGLes 3 and it works fine

  5. 12cc3e2f8b002cf831523455d1a201e9?d=mm


    Jan 13, 2017 16:25

    Same problem in 5.5.0

  6. 96293169102a3e869ddaca8565d926f1?d=mm


    Nov 21, 2016 09:59

    Same on 5.4.2p4

  7. E8a9678b045ce1e55aa73322e433d172?d=mm


    Oct 19, 2016 23:12

    Also seeing in 5.3.6f1

    My setup:
    UICamera depth=0 clear=Solid Color
    MainCamera depth=1 clear=Don't Clear
    PopupCamera depth=2 clear=Depth only

    On iOS build, as soon as I add geometry to be rendered on the MainCamera, the entire app renders black. When I turn off anti-aliasing everything is fine again.

  8. Dfca570a4dfa32b0be62e802f851f643?d=mm


    Sep 01, 2016 04:42

    Also occurring in Unity 5.3.4p1.

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.