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

    Dec 17, 2019 11:00

    I have the same problem
    Unity 2019.1.10f1
    devices iPad Air, iPad Mini 2 both with iOS 12+
    Black screen
    I see this problem on all device what don't support AR Kit, with device what support AR Kit problem is absent

  2. chyrho

    Aug 01, 2019 04:12

    I initially posted a comment under this issue: https://issuetracker.unity3d.com/issues/camera-viewport-rect-and-depth-causes-rendering-issues-with-multiple-cameras, which is very similar. I'd like to re-post it here. Note that the developer mentioned it had been fixed for iOS10 and later. I reproduced it with iOS12.

    I think this issue is only partially fixed. We recently ran into something very similar using Unity 2017.4.22. My test device has iOS 12.3. In our case, the repro conditions are following:

    * iOS build running on device (does not repro on other platforms, or in the editor)
    * Multiple cameras in the scene with various depths; preferrably with lowest depth camera drawing skybox only, other ones clearing depth buffer and drawing some 3d objects
    * Add a directional light to cast shadow
    * Set up 3d objects to cast and receive shadows
    * In quality settings, delete all levels except one, enable both MSAA and shadow (any quality)

    The symptom is that only the camera with highest depth is rendered.

  3. Smileys

    Jun 25, 2019 08:02

    This is NOT fixed in 2019.1.2
    Is there any workaround?

  4. spierce_unity278

    Apr 13, 2019 01:03

    This bug is not fixed in 2018.3.10f1

  5. jabaro

    Feb 24, 2019 01:35

    This issue is not fixed in Unity 2018.2. I found the issue reported here after posting about it in more detail in the forum: https://forum.unity.com/threads/second-camera-causes-main-camera-to-go-black-ios-only.634351/

  6. carldevelopsforcoffee

    Aug 31, 2018 02:27

    UI Flicker still in Unity 2018

  7. shochet

    Jul 18, 2018 20:27

    We are seeing the issue on iPad Air 2 (A1566) and iPad mini 3 (A1599) devices.
    Other iOS devices tested do not have the problem (A1459, A1954, A1778)
    App built on Unity 2014.4.3

  8. tiance7

    Jun 29, 2018 07:30

    Still not fixed with unity 2017.4.2f2

  9. kittycon

    Apr 28, 2018 06:30

    Still not fixed with unity 2017.3.1p4

  10. Archviz3d

    Dec 04, 2017 10:17

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

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.