Search Issue Tracker
By Design
By Design in 2023.1.X
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.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Different text alignment in the column header in Entities "System" window
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
- PolySpatial “Trying to set shader on a Material Variant.” error is printed in the console when entering Play Mode
- Error “Shader error in 'YSCloudCover': call to 'tex3D' is ambiguous at Assets/YSCloudCoverText.shader(606) (on d3d11)“ is present when compiling tex3D shader with DXC
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
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.
Resolution Note (2023.1.X):
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.