Search Issue Tracker

By Design

Votes

0

Found in

2021.3.3f1

2022.1.4f1

2022.2.0a16

2023.1.0a1

Issue ID

UUM-1341

Regression

No

Light in prefab reverts to realtime after moving the prefab with light to additively loaded scene and entering Play mode

--

-

Steps to repro:
1. Open the attached project and "SampleScene" scene;
2. Drag and drop scene "1" from the Project folder to Hierarchy to load it additively;
3. In the Hierarchy drag Directional Light (1) prefab from scene SampleScene to scene 1;
4. Parent it to MainCamera gameobject in scene "1" (in one go);
5. Enter playmode;
6. Exit playmode;
7. Rotate the Directional Light (1) gameobject;

Expected result:
Light is baked and doesn't update in the Scene or Game view when rotating it.

Actual result:
Light is realtime and is updating in the Scene and Game view windows.
See the attached video.

Notes:
- Reproducible in Version 2022.2.0a15, 2021.3.3f1;
- Reproducible on Windows.

  1. Resolution Note:

    The lighting data is bound to the scene and lights are registered with the scene they are baked in. When you move a light to another scene it will no longer be patched correctly when the scene is loaded. Playmode goes trough a loading sequence so it will not work.
    Notice if you move the light back to the scene it was baked with it will work fine again.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.