Search Issue Tracker
Fixed
Fixed in 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
- Crash on when D3D12RenderPass::SetupDeviceResources when opening FBX animation preview
- Serialization errors are thrown when "com.unity.render-pipelines.core" is added as a custom package and Graphics window is opened
- Character Joints unexpectedly rotate when a ragdoll is created using the Ragdoll Wizard
- Crash on GfxDeviceD3D11Base::DrawBuffersBatchMode when rendering the Scene view
- The shared EditorBuildSettings.asset file of symlinked projects is not updated when changing the order of the Scenes in Build Settings in one of the projects
Add comment