Search Issue Tracker

Fixed in 2017.1.0f3



Found in


Issue ID




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



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)

This is fixed for iOS versions 10 and above and will *not* be fixed for older versions due to risk of introducing other regressions.
If this issue is blocking anyone from shipping a game, the best workaround is to conditionally disable MSAA for older iOS devices.

Comments (23)

  1. sdpgames

    Nov 21, 2016 09:59

    Same on 5.4.2p4

  2. shochet

    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.

  3. PikPokCampbell

    Sep 01, 2016 04:42

    Also occurring in Unity 5.3.4p1.

Add comment

Log in to post comment

All about bugs

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