Copyright © 2026 Unity Technologies
In cases where the Enligten Precompute data exceeds the size that can be serialized, report this to the user instead of crashing.
Cancelling this port, as the issue will be addressed in the 6000.0.x port
As this case is likely to affect few users it will not be backported.
As this case is likely to affect few users it will not be backported.
Reproduction steps:
1. Open the “repro_IN-70450“ project
2. Open the “/Assets/Furious/Data/GoblinDungeon/Scenes/GoblinDungeon.unity“ Scene
3. Go to “Window → Rendering → Lighting”
4. In the opened window, press “Generate Lighting“
5. Wait for the process to finish
Expected result: The process finishes without any issues
Actual result: The Editor crashes while finishing up the process
Reproducible with: 2021.3.37f1, 2023.2.19f1, 6000.0.0b16
Couldn’t test with: 2022.3.24f1 (consistent crash on SpriteRenderer::OnDeleteSprite while opening)
Reproducible on: Windows 10 (22H2)
Not reproducible on: No other environments tested
Note: The baking process lasts around 9 hours on RTX 4090 and around 12 (on 6000.0.0b16) to 18 (on 2021.3.37f1-2023.2.19f1) hours on RTX 3080
First few frames of the stack trace:
0x00007FFE238A7EE0 (Unity) memcpy
0x00007FFE20FA3F31 (Unity) CachedWriter::Write
0x00007FFE22599028 (Unity) LightingDataAsset::Transfer<StreamedBinaryWrite>
0x00007FFE21388FF5 (Unity) SerializedFile::WriteObject
0x00007FFE213757CE (Unity) PersistentManager::WriteFile
Issues you vote on will appear here