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
- UnityYamlMerge.exe doesn't correctly handle merge conflicts in modified properties on a prefab variant
- Inconsistent color scheme in "Details" section of "Select Presets" inspector window
- Crash on __pthread_kill when launching Editor via command-line with "-disableManagedDebugger" argument
- [VFX] Deleting “New Group Node” name doesn’t allow to type or add new name
- [VFX] Creating a long Group Node name breaks nodes boarders
This is a duplicate of issue #905395