Search Issue Tracker
Fixed
Fixed in 2021.3.X, 2021.3.30f1
Votes
0
Found in
2021.3.22f1
Issue ID
UUM-34561
Regression
No
Crash on GetManagerFromContext when exiting the Prefab Mode
Reproduction steps:
1. Open the attached project “CrashRepro“
2. Open the Scene view
3. Double click on “Assets/Packages/Simple Mouse Flight/Prefabs/Simple Mouse Flight Camera Rig“ prefab
4. Click the back arrow in the Hierarchy window
Expected result: Editor goes back to Scene View
Actual result: The Editor throws a fatal error (GetManagerFromContext: Pointer to object of manager 'RenderSettngs' is NULL (table index 21) UnityEngine.GUILItility:ProcessEvent (int,intptr,bool)) window and crashes
Reproducible with: 2020.3.48f1, 2021.3.22f1, 2022.1.24f1
Not reproducible with: 2022.2.0a1, 2022.2.161f, 2023.1.0b12, 2023.2.0a12
Reproducible on: Windows 10
First few lines of stack trace:
{noformat}
0x00007FF6E2D5B204 (Unity) GetManagerFromContext
0x00007FF6E272D134 (Unity) RenderSettings_Get_Custom_PropFog
0x000001E7DCAF4687 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.RenderSettings:get_fog ()
0x000001E7DCAF444B (Mono JIT Code) UnityEditor.SceneView:SetupFogAndShadowDistance (bool&,single&)
0x000001E7DCAF06AB (Mono JIT Code) UnityEditor.SceneView:DoOnGUI ()
0x000001E7DCAAF9EB (Mono JIT Code) UnityEditor.SceneView:OnSceneGUI (){noformat}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Scaled Backgrounds List and dropdown text are enabled while Scaled Backgrounds field is disabled in IMGUI Debugger window
- Editor crashes when large value is entered in Scaled Backgrounds field of IMGUI Debugger window
- "Custom Function" Node "Input" type changes do not immediately show mistmatch errors when set to an incompatible type in Shader Graph
- My Assets list is populated with Asset Packages when setting how many Packages to display before clicking the Load button
- Hub shows 6.0 as Latest LTS when opening a project after deleting its 6.3 Editor version
Add comment