Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

2019.1: Depth-only camera render black

Discussion in 'General Graphics' started by Shudrum, May 1, 2019.

  1. Shudrum

    Shudrum

    Joined:
    Apr 3, 2011
    Posts:
    63
    Hello.

    All in the title. My multiples camera no longer works. I tried to find out why, no reason.

    -> I am not using LWRP.
    -> I am not using Legacy Deffered rendering, but the new one.

    Did this feature is broken, or the LWRP is mandatory and I missed it?
     
  2. Seb-1814

    Seb-1814

    Joined:
    Nov 23, 2013
    Posts:
    22
    Did you check the depth of your cameras? (it defines the order in which they are rendered).
    Also, I would type "Camera" in the search bar of the hierarchy window to locate any camera you could have forgotten or added by mistake.
     
  3. Shudrum

    Shudrum

    Joined:
    Apr 3, 2011
    Posts:
    63
    Yep yep, everything is setup correctly, and works perfectly on 2018.

    Thank you.
     
  4. Luminoth

    Luminoth

    Joined:
    Jan 15, 2013
    Posts:
    25
    I think I'm having the same issue. I have 3 cameras in my scene and the main one that's rendering my game renders black until I change a setting on it in the editor. It was working just fine in 2018 and I'm not sure what's going on when fixing it is literally just "change a setting in the editor and it starts working again".
     
  5. spuchals

    spuchals

    Joined:
    Sep 29, 2018
    Posts:
    8
    Anyone? Having the same issue
     
  6. spuchals

    spuchals

    Joined:
    Sep 29, 2018
    Posts:
    8
    Found a solution for my case !
    In Camera variables, there's a dropdown for Target Eye for VR, and it was set to Both.
    Changing it to None (Main display) did the trick for me !

    Hope it helps.
     
  7. M4R5

    M4R5

    Joined:
    Apr 11, 2013
    Posts:
    33
    Bump.

    Unfortunately @spuchals solution didn't do the trick for me.