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. Unity 2022.2 is now available as the latest Tech release.
    Dismiss Notice
  3. We are making some changes to the DOTS forums.
    Dismiss Notice
  4. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Bug Camera viewport broken

Discussion in 'Universal Render Pipeline' started by gszczesz, Sep 30, 2022.

  1. gszczesz


    Sep 8, 2019
    I'm using unity 2021.3.11f1 with URP. In the URP sample scene, if I have 2 base cameras, one set to priority 1 the other to 2, with uninitialized background I get the correct output.

    If I then set the viewport settings to different values (e.g. one may stay default, the other has a small nudge), the display breaks: higher priority camera no longer displays lower priority camera in it's active viewport.

    It's interesting that if the viewports are the same but non default, it still works.

    Anyone know a workaround? I have my highest priority camera show the GUI buttons, lower priority cameras show the scenes in different viewports. I can't use overlay feature because GUI buttons don't want to have any post-processing (e.g. bloom), but scene does and overlay doesn't allow me to do that.