Search Unity

Lightmaps broken for multiple scenes loaded at once.

Discussion in 'Graphics for ECS' started by swantonb, Jul 21, 2021.

  1. swantonb

    swantonb

    Joined:
    Apr 10, 2018
    Posts:
    172
    Hi, sorry if i wasnt supposed to open a new thread. I think i spotted an issue regarding hybrid rendering, as the thread name suggests, the lightmaps seem to break on multiple scenes loaded additive.

    My level is made out of 4 scenes. The lightmaps on this level are broken. I also have one more level which is only one scene. The lightmaps work on that one
     
    apkdev likes this.
  2. VincentBreysse

    VincentBreysse

    Unity Technologies

    Joined:
    May 31, 2021
    Posts:
    27
    Hi, so yes it's very likely a bug. Support for lightmapping with multiple scenes loaded as additive with hybrid renderer isn't great at all. It enters the category of "this is supposed to work in theory, but it's almost completely untested".
    Instead, I would recommend using SubScenes if possible. Lightmapping with SubScenes is properly tested and supported with hybrid renderer.
     
  3. swantonb

    swantonb

    Joined:
    Apr 10, 2018
    Posts:
    172
    Yup, guess i'll go with subscenes