Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
13
Found in
2017.1
2017.4
2018.2
2018.2.2f1
2018.3
2018.4
2019.1
2019.2
2019.3
2020.1
Issue ID
1067854
Regression
No
LightingData.asset being too big causes Scene corruption and Size overflow in allocator error
Steps to reproduce:
1. Open user-submitted project
2. Open Scene Scenes/xx
3. Wait for Unity to exit with the following error:
Size overflow in allocator error
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Reproduced with: 2017.1.1f1, 2017.4.8f1, 2018.2.3f1, 2018.3.0a8, 2020.1.0a23.2984, 2021.2.0a17
-
LtKelleyUSMC
Oct 15, 2021 18:16
Same here. Using 2020.2.7f1. Have 2 scenes. 1: Loading scene to connect to Photon, and Game Scene where all game play takes place, which is a rather large scene, and I noticed, when trying to Generate Lighting, it just seems to go on forever, but did see a size of 2GB, so I switched over to Auto, and reduced the resolution from 1024, to 256, and apparently, this is still to large, SO, am having to delete my TEMP and LIBRARY folders (3,452,886 items and 3.96Gb of data), and will see if I can load my project after that. Perhaps need to limit the size of my Game Scene, and break it up into different scenes.
-
kiloWhat
Nov 19, 2020 14:09
Same. Using 2019.4.3f1.
It bakes a 2.1GB file out in any resolution. That 0.1GB is really driving me nuts. -
mmena
Sep 04, 2020 10:19
Same thing here, 2.4gb and unity project/scene won't open
-
unityinhance
Aug 22, 2019 16:54
Anything over 2gb causes this issue. Can not assign lighting data to scene.
-
GordGames
Jan 15, 2019 00:54
Me too... did a big light bake in 2018.2.20f1, it made a 3.1gb lightingdata.asset and now it won't load Unity.
-
GordGames
Jan 15, 2019 00:52
Me too... did a big light bake in 2018.2.20f1, it made a 3.1gb lightingdata.asset and now it won't load Unity.
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
- Shadows are not cast when the Light's CullingMask and the GameObject's Layer do not match
- Graphics.DrawMeshInstanced does not work when 2D Renderer and 2D Shaders are used
- SpeedTree does not move when using WindZone
- "Undeclared identifier 'LinearToSRGB'" error is thrown when creating a color variable with HDR color mode and assigning a Custom Render Texture target in Shader Graph
- Input System package is missing when creating a new HDRP project
Resolution Note (2021.2.X):
The file serialization system needs 64bits support, until that happens, please split the scene into smaller chunks to avoid exceeding the maximum 2GB size.