Search Issue Tracker
Duplicate
Votes
0
Found in
2017.1.0b10
Issue ID
924499
Regression
Yes
Fatal Error "GetManagerFromContext: 'Lightmap Settings' is NULL" is thrown after locking Inspector and closing the Editor
Fatal Error "GetManagerFromContext: 'Lightmap Settings' is NULL" is thrown after selecting any material, locking Inspector, and then closing the Editor.
To reproduce:
1. Create a new project
2. Create a new material and select it
3. Lock the Inspector window where the material is assigned to
4. Press "X" in Editor title-bar to quit
Desired outcome: The editor closes without a crash.
Actual result: Editor shows "GetManagerFromContext: pointer to object of manager "Lightmap Settings" is NULL (table index 26) UnityEditor.Material:OnDisable()" then crashes after pressing "Quit" button.
Stack trace:
GetManagerFromContext: pointer to object of manager 'LightmapSettings' is NULL (table index 26)
UnityEditor.SceneManagement.EditorSceneManager:INTERNAL_CALL_ClosePreviewScene(Scene&)
UnityEditor.SceneManagement.EditorSceneManager:ClosePreviewScene(Scene)
UnityEditor.PreviewScene:Dispose()
UnityEditor.PreviewRenderUtility:Cleanup()
UnityEditor.MaterialEditor:OnDisable()
Reproduced with 2017.1.0b2, 2017.1.0f1, 2017.2.0a1, 2017.2.0b1
Not reproduced with 5.5.4p1, 5.6.2p1, 2017.1.0a1, 2017.1.0a4, 2017.1.0b1
Regression introduced in 2017.1.0b2
-
benzuk
Jun 28, 2017 10:59
I have the same issue on 2017.1.0f1, but it tells me about "table index 25".
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
- “ValidateSchema Error2” error is thrown in the Player when using IL2CPP Scripting Backend
- Symbolic links disappear when a .xcframework file is added through the Unity Editor
- Errors regarding importing occur upon opening a project when the "Library" folder is deleted
- MeshRenderer.sortingLayerID cannot be changed when change is being done in a built Player
- Warnings related to App Icon are being thrown when building project to VisionOS Platform
This is a duplicate of issue #905395