Search Unity

Bug 2022.2.3 and 2022.2.4 editors become unresponsive when loading project

Discussion in 'Editor & General Support' started by slippyfrog, Jan 31, 2023.

  1. slippyfrog

    slippyfrog

    Joined:
    Jan 18, 2016
    Posts:
    42
    When I try to load my unity project, the editor becomes unresponsive and I get the following exception from my Unity logs file.


    Project loads fine in Unity 2022.2.2 but when I try to upgrade to 2022.2.3 or 2022.2.4 the editor locks. This issue is observed on Mac Ventura 13.0.1.

    Has any one had issues loading their projects with 2022.2.3 or 2022.2.4 ?

    With the 2022.2.3 update, I noticed that URP, addressable, com.unity.scriptablebuildpipeline, com.unity.render-pipelines.core and various other packages are bumped in version. There probably is some bad data in my project that the updated URP or one of the other updated packages is not happy with but it's tough to isolate as the project is quite large.

    Any one have any thoughts or suggestions? Is this a Bug in Unity?

    thx!



    Code (CSharp):
    1. Cannot create on non-main thread without an instanceID
    2. UnityEngine.StackTraceUtility:ExtractStackTrace () (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/StackTrace.cs:37)
    3. UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset:get_editorResources () (at ./Library/PackageCache/com.unity.render-pipelines.universal@14.0.5/Runtime/Data/UniversalRenderPipelineAsset.cs:716)
    4. UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset:GetMaterial (UnityEngine.Rendering.Universal.DefaultMaterialType) (at ./Library/PackageCache/com.unity.render-pipelines.universal@14.0.5/Runtime/Data/UniversalRenderPipelineAsset.cs:851)
    5. UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset:get_defaultMaterial () (at ./Library/PackageCache/com.unity.render-pipelines.universal@14.0.5/Runtime/Data/UniversalRenderPipelineAsset.cs:1533)
    6. UnityEngine.Rendering.Universal.UniversalRenderPipelineGlobalSettings:Create (string,UnityEngine.Rendering.Universal.UniversalRenderPipelineGlobalSettings) (at ./Library/PackageCache/com.unity.render-pipelines.universal@14.0.5/Runtime/UniversalRenderPipelineGlobalSettings.cs:164)
    7. UnityEngine.Rendering.Universal.UniversalRenderPipelineGlobalSettings:Ensure (string,bool) (at ./Library/PackageCache/com.unity.render-pipelines.universal@14.0.5/Runtime/UniversalRenderPipelineGlobalSettings.cs:135)
    8. UnityEngine.Rendering.Universal.UniversalRenderPipeline:.ctor (UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset) (at ./Library/PackageCache/com.unity.render-pipelines.universal@14.0.5/Runtime/UniversalRenderPipeline.cs:196)
    9. UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset:CreatePipeline () (at ./Library/PackageCache/com.unity.render-pipelines.universal@14.0.5/Runtime/Data/UniversalRenderPipelineAsset.cs:768)
    10. UnityEngine.Rendering.RenderPipelineAsset:InternalCreatePipeline () (at /Users/bokken/build/output/unity/unity/Runtime/Export/RenderPipeline/RenderPipelineAsset.cs:10)
    11. UnityEngine.Rendering.RenderPipelineManager:PrepareRenderPipeline (UnityEngine.Rendering.RenderPipelineAsset) (at /Users/bokken/build/output/unity/unity/Runtime/Export/RenderPipeline/RenderPipelineManager.cs:140)
    12. UnityEngine.Rendering.RenderPipelineManager:DoRenderLoop_Internal (UnityEngine.Rendering.RenderPipelineAsset,intptr,UnityEngine.Object,Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle) (at /Users/bokken/build/output/unity/unity/Runtime/Export/RenderPipeline/RenderPipelineManager.cs:111)
    13. UnityEditor.Handles:DrawCameraImpl (UnityEngine.Rect,UnityEngine.Camera,UnityEditor.DrawCameraMode,bool,UnityEditor.DrawGridParameters,bool,bool,bool,UnityEngine.GameObject[]) (at /Users/bokken/build/output/unity/unity/Editor/Mono/Handles.cs:1594)
    14. UnityEditor.Handles:DrawCameraStep1 (UnityEngine.Rect,UnityEngine.Camera,UnityEditor.DrawCameraMode,UnityEditor.DrawGridParameters,bool,bool) (at /Users/bokken/build/output/unity/unity/Editor/Mono/Handles.cs:1617)
    15. UnityEditor.SceneView:DoDrawCamera (UnityEngine.Rect,UnityEngine.Rect,bool&) (at /Users/bokken/build/output/unity/unity/Editor/Mono/SceneView/SceneView.cs:2092)
    16. UnityEditor.SceneView:DoOnGUI () (at /Users/bokken/build/output/unity/unity/Editor/Mono/SceneView/SceneView.cs:2411)
    17. UnityEditor.SceneView:OnSceneGUI () (at /Users/bokken/build/output/unity/unity/Editor/Mono/SceneView/SceneView.cs:2324)
    18. UnityEngine.UIElements.IMGUIContainer:DoOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect,System.Action,bool) (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/IMGUIContainer.cs:355)
    19. UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,System.Action,bool) (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/IMGUIContainer.cs:676)
    20. UnityEngine.UIElements.IMGUIContainer:DoIMGUIRepaint () (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/IMGUIContainer.cs:536)
    21. UnityEngine.UIElements.UIR.RenderChainCommand:ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams,single,System.Exception&) (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/Renderer/UIRenderer/UIRenderers.cs:130)
    22. UnityEngine.UIElements.UIR.UIRenderDevice:EvaluateChain (UnityEngine.UIElements.UIR.RenderChainCommand,UnityEngine.Material,UnityEngine.Material,UnityEngine.Texture,UnityEngine.Texture,single,Unity.Collections.NativeSlice`1<UnityEngine.UIElements.UIR.Transform3x4>,Unity.Collections.NativeSlice`1<UnityEngine.Vector4>,UnityEngine.MaterialPropertyBlock,bool,System.Exception&) (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/Renderer/UIRenderer/UIRenderDevice.cs:1003)
    23. UnityEngine.UIElements.UIR.RenderChain:Render () (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/Renderer/UIRRenderChain.cs:500)
    24. UnityEngine.UIElements.UIRRepaintUpdater:Update () (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/Renderer/UIRRepaintUpdater.cs:79)
    25. UnityEngine.UIElements.VisualTreeUpdater:UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase) (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/VisualTreeUpdater.cs:111)
    26. UnityEngine.UIElements.Panel:UpdateForRepaint () (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/Panel.cs:1012)
    27. UnityEngine.UIElements.Panel:Repaint (UnityEngine.Event) (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/Panel.cs:1073)
    28. UnityEngine.UIElements.UIElementsUtility:DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel) (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/UIElementsUtility.cs:454)
    29. UnityEngine.UIElements.UIElementsUtility:UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (int,intptr,bool&) (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/UIElementsUtility.cs:205)
    30. UnityEngine.UIElements.UIEventRegistration:ProcessEvent (int,intptr) (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/UIElementsUtility.cs:74)
    31. UnityEngine.UIElements.UIEventRegistration/<>c:<.cctor>b__1_2 (int,intptr) (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/UIElementsUtility.cs:28)
    32. UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:189)
    33.  
    34. [/Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/StackTrace.cs line 37]
    35.  
     
  2. flintml

    flintml

    Joined:
    Apr 13, 2021
    Posts:
    16
    Wondering if there was any solution found to this, or I can just get it in front of Unity again.

    We randomly experience this, very intermittently, in different scenarios. A project is building on Windows machines using Unity 2022.2.3. On local dev machines, the issue never occurs. But when our CI jobs run remotely (batchmode) we do see this. But not 100% of the time. It randomly appears on different code branches (none of the code or asset changes should cause this).