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
- HDRP 6-way VFX Shader is lit incorrectly when World coordinates are used
- 2D Sprite Renderer in front is affected by Sprites in the background when using Sorting Layers and a Shadow Caster 2D with Self Shadow
- Modifying UI Prefab child's Height only confirms the first 1 or 2 digits when the Scene is newly opened or the Prefab is newly created
- ProfilingSampler.Get() returns null and makes the Player only render black when building a Release Build
- Search text field visual controls for the Path binding in an Input Actions Asset is misaligned
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.0b14
Resolution Note (fix version 2020.3):
Fixed in: 2020.3.23f1