Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Environment lighting in additively loaded scene not taking effect

Discussion in 'Universal Render Pipeline' started by libra34567, May 28, 2022.

  1. libra34567

    libra34567

    Joined:
    Apr 5, 2014
    Posts:
    62
    I met a issue during additively loading of a scene.

    Here is the settings in my base scene, with no lighting/baking etc.
    upload_2022-5-28_11-55-10.png

    During the game, I loaded the game scene additively with the following code.
    upload_2022-5-28_11-55-49.png

    And the game scene's lighting setting looks like this. (There's no lightmap as there's no static obj in the scene, but i guess it did change something as it looked different versus unbaked)
    upload_2022-5-28_11-57-9.png
    And its environment settings:
    upload_2022-5-28_11-58-11.png


    The issue I'm facing is that, after I additively loaded the scene, while the directional light still take effect as they are real time, but the environment lighting is not taking effect. This is how it looks after I disabled the mixed-directional lights in the scene. its completely dark.
    upload_2022-5-28_12-0-23.png


    P.s. Tried added a static obj in the Game scene to help generate a lightmap, but that also didn't help.

    I wonder what I did wrong, please help :)
    Thank you in advanced.
     
    Last edited: May 28, 2022