Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2020.3.X, 2021.2.X
Votes
1
Found in
2020.2.0a11
2020.3
2021.1
2021.1.15f1
2021.2
2022.1
Issue ID
1354238
Regression
Yes
[Enlighten] Fatal Error when closing the Editor while Generating Lighting
Fatal Error GetManagerFromContext: pointer to object of manager 'LightmapSettings' is NULL (table index 22) when closing the Editor while Generating Lighting
How to reproduce:
1. Open the attached project "Reactor.zip" and SampleScene scene;
2. In the Project folder drag Lighting Settings file located at Assets>Scenes folder to the Lighting Settings field of the Lighting window (Window>Rendering>Lighting);
3. Window > Rendering > Lighting
4. In the Lighting window click "Generate Lighting"
5. Close the Editor while the Lighting is Generating
Expected result: Editor closes
Actual result: Fatal error pops up
Reproducible with: 2020.2.0a11, 2020.3.15f2, 2021.1.16f1, 2021.2.0b6, 2022.1.0a4
Not reproducible with: 2019.4.29f1, 2020.2.0a10
Notes:
- Reproducible only when Realtime GI is enabled in the Lighting settings;
- Not reproducible when only Baked GI is enabled.
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
- Crash on CheckDeviceStatus when converting materials from built-in to URP and using DX12
- Higher CPU frame time on Android devices with Cortex-A510 efficiency cores (vs Cortex-A55)
- Alt+click on List header does not recursively toggle child foldouts when items use a UI Toolkit CustomPropertyDrawer
- Hub Window is closed when closing Unity AI Window via the OS Window Close Button on Windows
- Artifacts are rendered in UITK when using Font Assets and using negative outlines
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.0b14
Resolution Note (fix version 2020.3):
Fixed in: 2020.3.23f1