Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

VR Camera + regular window camera conflict

Discussion in '5.6 Beta' started by ccsander, Dec 23, 2016.

  1. ccsander

    ccsander

    Joined:
    May 17, 2013
    Posts:
    44
    This was working on 5.5, but no longer works in 5.6:

    1 camera (both eye) for VR and mirroring is disabled via VRSettings.showDeviceView = false
    1 camera (none - display 1) for main window for desktop use (none - display 1)

    This setup allow asynchronous gameplay options, but from what I can tell 5.6 broke this. It seems like the clear flags from one camera are being applied to the other camera and vice-versa. Therefore one of them will just be rendered with background color or skybox, depending on which camera rendered 1st.

    Anyone else seeing this?

    I'm guessing it has to do with this 5.6 release note:
    Graphics: Refactored camera render ordering code. When a scene is rendered it now figures out which cameras can share the same render target. The rules for this are:

    ccs