Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question [SOLVED]Call to DeinitializeLoader without an initialized manager.

Discussion in 'Editor & General Support' started by tolgayahya02, Mar 10, 2024.

  1. tolgayahya02

    tolgayahya02

    Joined:
    Oct 20, 2019
    Posts:
    4
    I'm getting this error and I don't know why.

    Call to DeinitializeLoader without an initialized manager.Please make sure to wait for initialization to complete before calling this API.

    0x00007ff67e96a2fd (Unity) StackWalker::GetCurrentCallstack
    0x00007ff67e96f2a9 (Unity) StackWalker::ShowCallstack
    0x00007ff67f946931 (Unity) GetStacktrace
    0x00007ff680005402 (Unity) DebugStringToFile
    0x00007ff67d8b8266 (Unity) DebugLogHandler_CUSTOM_Internal_Log
    0x000002b82756af73 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
    0x000002b82756aeab (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
    0x000002b82756ac30 (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object)
    0x000002b83b09fed8 (Mono JIT Code) UnityEngine.Debug:LogWarning (object)
    0x000002b83b09fde3 (Mono JIT Code) UnityEngine.AdaptivePerformance.AdaptivePerformanceManagerSettings:DeinitializeLoader () (at ./Library/PackageCache/com.unity.adaptiveperformance@5.0.0/Runtime/Management/AdaptivePerformanceManagerSettings.cs:269)
    0x000002b83b09fd6b (Mono JIT Code) UnityEngine.AdaptivePerformance.AdaptivePerformanceGeneralSettings:DeInitAdaptivePerformance () (at ./Library/PackageCache/com.unity.adaptiveperformance@5.0.0/Runtime/Management/AdaptivePerformanceGeneralSettings.cs:227)
    0x000002b83b09fce3 (Mono JIT Code) UnityEngine.AdaptivePerformance.AdaptivePerformanceGeneralSettings:Quit () (at ./Library/PackageCache/com.unity.adaptiveperformance@5.0.0/Runtime/Management/AdaptivePerformanceGeneralSettings.cs:143)
    0x000002b827837eeb (Mono JIT Code) UnityEngine.AdaptivePerformance.AdaptivePerformanceGeneralSettings:InternalPlayModeStateChanged (UnityEditor.PlayModeStateChange) (at ./Library/PackageCache/com.unity.adaptiveperformance@5.0.0/Runtime/Management/AdaptivePerformanceGeneralSettings.cs:133)
    0x000002b827837e93 (Mono JIT Code) UnityEditor.AdaptivePerformance.Editor.AdaptivePerformanceGeneralSettingsPerBuildTarget:playModeStateChanged (UnityEditor.PlayModeStateChange) (at ./Library/PackageCache/com.unity.adaptiveperformance@5.0.0/Editor/Management/AdaptivePerformanceGeneralSettingsPerBuildTarget.cs:60)
    0x000002b827837cdb (Mono JIT Code) UnityEditor.EditorApplication:Internal_PlayModeStateChanged (UnityEditor.PlayModeStateChange)
    0x000002b82753740b (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_int (object,intptr,intptr,intptr)
    0x00007ffd02fd4b6e (mono-2.0-bdwgc) mono_jit_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/mini/mini-runtime.c:3445)
    0x00007ffd02f0d204 (mono-2.0-bdwgc) do_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3066)
    0x00007ffd02f0d37c (mono-2.0-bdwgc) mono_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3113)
    0x00007ff67e85c41d (Unity) CallStaticMonoMethod
    0x00007ff67e85c1b7 (Unity) CallStaticMonoMethod
    0x00007ff67f4d1a54 (Unity) PlayerLoopController::SetIsPlayingDelayed
    0x00007ff67df3ef58 (Unity) EditorApplication_Set_Custom_PropIsPlaying
    0x000002b83b09faaa (Mono JIT Code) (wrapper managed-to-native) UnityEditor.EditorApplication:set_isPlaying (bool)
    0x000002b83b09f9fb (Mono JIT Code) UnityEditor.EditorApplication:ExitPlaymode ()
    0x000002b83b09f9a3 (Mono JIT Code) UnityEditor.Toolbars.PlayModeButtons:OnPlayButtonValueChanged (UnityEngine.UIElements.ChangeEvent`1<bool>)
    0x000002b8272f7284 (Mono JIT Code) UnityEngine.UIElements.EventCallbackFunctor`1<TEventType_REF>:Invoke (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.PropagationPhase)
    0x000002b8272f6fb3 (Mono JIT Code) UnityEngine.UIElements.EventCallbackRegistry:InvokeCallbacks (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.PropagationPhase)
    0x000002b8272f3433 (Mono JIT Code) UnityEngine.UIElements.CallbackEventHandler:HandleEvent (UnityEngine.UIElements.EventBase)
    0x000002b8272f31ef (Mono JIT Code) UnityEngine.UIElements.CallbackEventHandler:HandleEventAtCurrentTargetAndPhase (UnityEngine.UIElements.EventBase)
    0x000002b827304113 (Mono JIT Code) UnityEngine.UIElements.CallbackEventHandler:UnityEngine.UIElements.IEventHandler.HandleEvent (UnityEngine.UIElements.EventBase)
    0x000002b827303204 (Mono JIT Code) UnityEngine.UIElements.EventDispatchUtilities:HandleEventAcrossPropagationPath (UnityEngine.UIElements.EventBase)
    0x000002b827302773 (Mono JIT Code) UnityEngine.UIElements.EventDispatchUtilities:propagateEvent (UnityEngine.UIElements.EventBase)
    0x000002b827302453 (Mono JIT Code) UnityEngine.UIElements.DefaultDispatchingStrategy:DispatchEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
    0x000002b82730172e (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,bool)
    0x000002b8273010bb (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:processEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
    0x000002b82339c943 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:processEventQueue ()
    0x000002b82339c7b3 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:OpenGate ()
    0x000002b82339c70b (Mono JIT Code) UnityEngine.UIElements.EventDispatcherGate:Dispose ()
    0x000002b827301593 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:processEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
    0x000002b82339c943 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:processEventQueue ()
    0x000002b82339c7b3 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:OpenGate ()
    0x000002b82339c70b (Mono JIT Code) UnityEngine.UIElements.EventDispatcherGate:Dispose ()
    0x000002b827301593 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:processEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
    0x000002b8272fc533 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:Dispatch (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,UnityEngine.UIElements.DispatchMode)
    0x000002b8272fc3ab (Mono JIT Code) UnityEngine.UIElements.BaseVisualElementPanel:SendEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.DispatchMode)
    0x000002b8274f9fe3 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel)
    0x000002b8274f9913 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (int,intptr,bool&)
    0x000002b8274f970f (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration:processEvent (int,intptr)
    0x000002b8274f964b (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration/<>c:<.cctor>b__1_2 (int,intptr)
    0x000002b8274f949d (Mono JIT Code) UnityEngine.GUIUtility:processEvent (int,intptr,bool&)
    0x000002b8274f9556 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_int_intptr_intptr& (object,intptr,intptr,intptr)
    0x00007ffd02fd4b6e (mono-2.0-bdwgc) mono_jit_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/mini/mini-runtime.c:3445)
    0x00007ffd02f0d204 (mono-2.0-bdwgc) do_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3066)
    0x00007ffd02f0d37c (mono-2.0-bdwgc) mono_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3113)
    0x00007ff67e881494 (Unity) scripting_method_invoke
    0x00007ff67e85f544 (Unity) ScriptingInvocation::Invoke
    0x00007ff67e85a185 (Unity) ScriptingInvocation::Invoke<void>
    0x00007ff67e9b500a (Unity) Scripting::UnityEngine::GUIUtilityProxy::processEvent
    0x00007ff67f3acaf8 (Unity) GUIView::processRetainedMode
    0x00007ff67f9797fe (Unity) GUIView::OnInputEvent
    0x00007ff67f3aca43 (Unity) GUIView::processInputEventFromAPI
    0x00007ff67f3ac918 (Unity) GUIView::processInputEvent
    0x00007ff67f97a62e (Unity) GUIView::processEventMessages
    0x00007ff67f9743b5 (Unity) GUIView::GUIViewWndProc
    0x00007ffd696def75 (USER32) CallWindowProcW
    0x00007ffd696de69d (USER32) DispatchMessageW
    0x00007ff67f94d0f3 (Unity) MainMessageLoop
    0x00007ff67f952ad0 (Unity) WinMain
    0x00007ff680d361be (Unity) __scrt_common_main_seh
    0x00007ffd68ae7344 (KERNEL32) BaseThreadInitThunk
    0x00007ffd69e626b1 (ntdll) RtlUserThreadStart
     
  2. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    6,416
    Do you use this package in your project?
    com.unity.adaptiveperformance

    If not, remove it.
     
    linqforce_unity and tolgayahya02 like this.
  3. tolgayahya02

    tolgayahya02

    Joined:
    Oct 20, 2019
    Posts:
    4
    Thank you so much!
     
  4. hiperbiscote

    hiperbiscote

    Joined:
    Mar 29, 2024
    Posts:
    1
    and if we use it,wath do we do? please
     
  5. shahrambakhtiari

    shahrambakhtiari

    Joined:
    Mar 25, 2024
    Posts:
    2
    hi
    i run this project "https://github.com/derenlei/Unity_Detection2AR/tree/main" in unity 2022.3.26f1 and it return this error "Call to StopSubsystems without an initialized manager .Please make sure wait for initialization to complete before calling this API.
    UnityEngine.XR.Management.XRManagerSettings:OnDisable () (at ./library/packagecache/com.unity.xr.management@4.4.0/runtime/xrmanagersettings.cs:481)" how can i fix it?

    GitHub - derenlei/Unity_Detection2AR: Localize 2D image object detection in 3D Scene with Yolo in Unity Barracuda and ARFoundation.
    https://github.com