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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

Unity UI Second camera doesn't show UI (world space)

Discussion in 'UGUI & TextMesh Pro' started by tribootgmbh, Oct 28, 2019.

  1. tribootgmbh

    tribootgmbh

    Joined:
    Jun 26, 2014
    Posts:
    5
    Hi together,

    hope you can help me:

    I have two cameras rendering the same scene (from different angles and to different displays).
    Inside the scene, I have some world space UI.
    Both cameras have the same culling masks and configurations (except the target display).
    Of cause the UI is inside the view frustums of both cameras.

    But: The UI elements are only rendered by the main camera. The second camera (which renders all other things perfectly) doesn't show the UI.

    I can't figure out what the problem could be. Maybe you guys can help me with some tips.

    Best regards
    Peter
     
  2. tribootgmbh

    tribootgmbh

    Joined:
    Jun 26, 2014
    Posts:
    5
    After some more tests, it seems, that world space UI is only rendered on Display 1.
    You can't set another target display inside the canvas (if it is set to world space). Of course it make sense, but I assume internally it is set to display 1.

    Can someone else reproduce it?
    Is it a known issue ?

    I use Unity 2019.2.2f1.

    Greetz
    Peter
     
    Last edited: Oct 29, 2019