Search Issue Tracker
Fixed in 2018.2.X
Fixed in 2017.1.X, 2017.2.X, 2017.3.X, 2018.1.X
Votes
0
Found in
5.6.1f1
Issue ID
913869
Regression
No
LightingData for additively loaded scenes baked together is much bigger than for a single scene with same geometry
LightingData for additively loaded scenes baked together is much bigger than for a single scene with same geometry
The game loads game world additively in chunks as separate scenes. Probes and GI need to be baked in these chunks, so prior to this all chunks are loaded in the editor and baked together. This produces LightingData file which is much bigger than if the same geometry were to be baked in a separate scene.
How to reproduce:
1. Open Scenes_U/United_Small scene and bake it. You'll see that LightingData is 11Mb.
2. Open Scenes/Small scene and drag the following scenes into the hierarchy:
> Scenes/Row_1/House7_Indoor_1_1
> Scenes/Row_1/House7_Indoor_1_2
> Scenes/Row_1/House7_Outdoor_1_1
> Scenes/Row_1/House7_Outdoor_1_2
(Attached a screenshot of how the hierarchy should look)
3. Make sure that the level looks exactly as in Step 1 and bake lighting. You'll see that the new LightingData is 18Mb.
In case of 7x7 grid of buildings the difference is ~300Mb vs ~3600Mb.
Attaching Realtime GI UV Charts views for both scenes, they look the same.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment