Search Unity

Question Adding an Overlay camera to the camera stack turns everything black.

Discussion in 'Universal Render Pipeline' started by axxelart, Aug 6, 2022.

  1. axxelart

    axxelart

    Joined:
    Jun 28, 2020
    Posts:
    17
    Hi everyone!

    Recently, I've stumbled upon an issue with URP where as soon as I assign an overlay camera to a base camera, everything in the game view turns black. I've tried to mess with the settings but nothing worked.

    Here's how my main camera is set up :
    upload_2022-8-6_21-48-30.png

    And here's how my overlay camera is set up :
    upload_2022-8-6_21-48-59.png

    My goal is to have an overlay camera that renders objects unaffected by the post processing on the base camera.

    Oh also, if the unity version I'm using is of any relevance I'm using 2021.2.11f1. Does anyone know why this happens?

    Thank you in advance!
     

    Attached Files:

  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,043
    Try 2021 lts
    Always worth a try to check the latest LTS of your version
     
  3. axxelart

    axxelart

    Joined:
    Jun 28, 2020
    Posts:
    17
    Okay, but... is there something wrong with my setup anywhere?
     
  4. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,043
    Not which I saw
     
  5. axxelart

    axxelart

    Joined:
    Jun 28, 2020
    Posts:
    17
    Ok, I will try to update to an LTS version because the version I'm using isn't one. Thanks for the help!
     
  6. StripeGuy

    StripeGuy

    Joined:
    Dec 30, 2016
    Posts:
    52
    Any solutions? Stacking cameras removes the alpha of the camera and it goes all black, or if I don't stack and use render textures instead (with Post-processing - I need it!) it's also all black.
     
    unity_HHEcGUR7CMJGoQ likes this.
  7. unity_HHEcGUR7CMJGoQ

    unity_HHEcGUR7CMJGoQ

    Joined:
    Jun 28, 2022
    Posts:
    5
    Last edited: Oct 12, 2023