Search Unity

Resolved What's the current state of the main camera with subscenes?

Discussion in 'DOTS Dev Blitz Day 2022 - Q&A' started by DreamingImLatios, Dec 8, 2022.

  1. DreamingImLatios

    DreamingImLatios

    Joined:
    Jun 3, 2017
    Posts:
    4,270
    The main camera in subscenes, and even hybrid cameras in general have had inconsistent issues in the past, and then were buried behind a scripting define. That scripting define symbol still exists in pre.15, but I suspect the limitations surrounding it have changed a lot since 2 years ago.

    What are those limitations today? Or have such limitations not been fully explored yet after the recent overhauls?
     
    bb8_1 likes this.
  2. topher_r

    topher_r

    Unity Technologies

    Joined:
    Jun 14, 2019
    Posts:
    36
    Nothing has really changed regarding GameObject Cameras in SubScenes. Currently it does not work, the define was only for our own internal testing. There are no plans to make this work in the foreseeable future either, I'm afraid. It is fairly straightforward to get access to a GameObject Camera from code, however, so I recommend that approach.