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
- UI Overlay Image gets darker on each Camera when multiple Cameras are used
- Assertion failed on expression: 'scriptedImporterClass == SCRIPTING_NULL error when opening the standalone profiler window
- Disabled assets in Import Unity Package window aren't tracked but count as being selected by user
- [Windows] Crash on GetManagerFromContext when video is playing and creating High Definition 3D Projects after FMOD failed to switch back to normal output Error appeared
- GC Alloc produced when adding items to MultiColumnListView with Auto Assign Binding
This is a duplicate of issue #905395