Search Issue Tracker

Fixed in Unity 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

-

-

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)

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 (15)

  1. Ed735b067d1a850d809fe92265f1725e?d=mm

    kittycon

    Apr 28, 2018 06:30

    Still not fixed with unity 2017.3.1p4

  2. 3229ba2d27d02c2850fd237b5690ffb4?d=mm

    Archviz3d

    Dec 04, 2017 10:17

    Still not fixed with unity 2017.2.0f3 or im missing something?

  3. 18830f842f32881b79cae9d33351f107?d=mm

    Lars-Steenhoff

    Nov 14, 2017 21:23

    Is this ready to go?

  4. 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?

  5. 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?

  6. 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.

  7. 46a62252a5bd91d8d0a9dd75735138ab?d=mm

    PetroUnityDev

    Jul 06, 2017 22:43

    This is an issue in Unity 5.6.1p4 and 5.6.2

  8. 9729f67710c383938d05b4f6655a5ae2?d=mm

    andyz

    Jun 21, 2017 10:35

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

  9. 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.

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

All about bugs

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