Search Issue Tracker

Fixed in 2017.1.0f3

Votes

41

Found in

5.3.2f1

Issue ID

765563

Regression

No

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

iOS

-

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. 18830f842f32881b79cae9d33351f107?d=mm

    Lars-Steenhoff

    Nov 14, 2017 21:23

    Is this ready to go?

  2. Ce27a2fde888643f80442616331f94bb?d=mm

    puzzlekings

    Jul 16, 2017 17:10

    It's great to hear there is a fix in review.
    Could someone from the Unity team provide an ETA of when it may arrive and for which version of Unity?

  3. F071beaf2116b735d1ce3322389e2b39?d=mm

    synesthesia-mobile

    Jul 13, 2017 16:48

    I have Unity 5.6.2f1. If I enable Metal renderer the app crashes. I had to use OGLes instead but the final render effect is really bad (like aliased and flickering textures). I'm quite sure 3D model is ok since on Android it renders perfectly.
    It seems this issue disappears when creating a native Unity application...in my case I need to have a mixed UIKit/Unity iOS application and I don't know how to solve this issue maintaining a good rendering.

    Could you please help me?

  4. B6c00c2346f510d630f9bcbd1697013b?d=mm

    mmortall

    Jul 13, 2017 13:29

    Still occurs on 5.5.3f1.

    This bug is critical because I want to use AA for iPhone7.

  5. 46a62252a5bd91d8d0a9dd75735138ab?d=mm

    PetroUnityDev

    Jul 06, 2017 22:43

    This is an issue in Unity 5.6.1p4 and 5.6.2

  6. 9729f67710c383938d05b4f6655a5ae2?d=mm

    andyz

    Jun 21, 2017 10:35

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

  7. 67bdbb1e73ae17c111b42a83166f7d64?d=mm

    pmerilainen

    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.

  8. B8ee820c67813616ba80c92494bc0963?d=mm

    Xalior

    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... :-(

  9. Ce27a2fde888643f80442616331f94bb?d=mm

    puzzlekings

    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

  10. 12cc3e2f8b002cf831523455d1a201e9?d=mm

    GeekCats

    Jan 13, 2017 16:25

    Same problem in 5.5.0

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.