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
Comments (1)
-
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
- Terrain Tree cast Realtime and Baked shadows simultaneously when "Mixed" Light mode and "Subtractive" Baked Illumination is used in Edit mode
- OnPostprocessAllAssets() is not called for a modified Prefab when another Asset is set Dirty in the same callback
- [Android] UIToolkit ClickEvent is fired when the device is rotated
- Compilation errors occur when "uintBitsToFloat(int)" gets used in OpenGLES
- User Reporting does not send reports when Managed Stripping Level is set to Low or higher
This is a duplicate of issue #905395