Build stuck at "Importing assets"

image

Build stuck at this step. CPU usage is 0%, same for RAM, 4-5mb. Tried deleting Library folder and other temp files, nothin changes. Other projects build progress is fine, fast and no errors.

Here is the list of external packages. They are almost the same as for another project where build goes with no problems:

Did you check Editor.log, maybe there’s some info there.

The message after which it stuck:

0x00007ff6dc17f48d (Unity) StackWalker::GetCurrentCallstack
0x00007ff6dc184569 (Unity) StackWalker::ShowCallstack
0x00007ff6dd1760c1 (Unity) GetStacktrace
0x00007ff6dd8312fe (Unity) DebugStringToFile
0x00007ff6db0c2628 (Unity) DebugLogHandler_CUSTOM_Internal_Log
0x000001ad586af423 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
0x000001ad586af06b (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
0x000001ad586aedf0 (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object)
0x000001ad586aecb8 (Mono JIT Code) UnityEngine.Debug:Log (object)
0x000001ad5ab249a3 (Mono JIT Code) Google.Logger:Log (string,Google.LogLevel) (at Z:/tmp/tmp.MI6gIp8Q3C/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/Logger.cs:125)
0x000001ad5ab24909 (Mono JIT Code) Google.VersionHandlerImpl:Log (string,bool,Google.LogLevel) (at Z:/tmp/tmp.MI6gIp8Q3C/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/VersionHandlerImpl.cs:2576)
0x000001ad5e0a36fb (Mono JIT Code) Google.VersionHandlerImpl/ManifestReferences:ParseManifests (Google.VersionHandlerImpl/FileMetadataByVersion,Google.VersionHandlerImpl/FileMetadataSet) (at Z:/tmp/tmp.MI6gIp8Q3C/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/VersionHandlerImpl.cs:1886)
0x000001ad5e04df2b (Mono JIT Code) Google.VersionHandlerImpl/ManifestReferences:FindAndReadManifestsByPackageName (Google.VersionHandlerImpl/FileMetadataSet) (at Z:/tmp/tmp.MI6gIp8Q3C/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/VersionHandlerImpl.cs:1925)
0x000001adeeedc03b (Mono JIT Code) Google.VersionHandlerImpl/ManifestReferences:FindAndReadManifests (Google.VersionHandlerImpl/FileMetadataSet) (at Z:/tmp/tmp.MI6gIp8Q3C/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/VersionHandlerImpl.cs:1896)
0x000001adeeeda233 (Mono JIT Code) Google.VersionHandlerImpl:UpdateVersionedAssetsOnMainThread (bool,System.Action,bool) (at Z:/tmp/tmp.MI6gIp8Q3C/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/VersionHandlerImpl.cs:2830)
0x000001adeeed9e6b (Mono JIT Code) Google.VersionHandlerImpl/<UpdateVersionedAssets>c__AnonStorey1:<>m__0 () (at Z:/tmp/tmp.MI6gIp8Q3C/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/VersionHandlerImpl.cs:2796)
0x000001ad5ab2590a (Mono JIT Code) Google.RunOnMainThread:ExecuteNext () (at Z:/tmp/tmp.MI6gIp8Q3C/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:487)
0x000001ad5ab256c3 (Mono JIT Code) Google.RunOnMainThread:<ExecuteAllUnnested>m__1 () (at Z:/tmp/tmp.MI6gIp8Q3C/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:536)
0x000001ad5ab255b6 (Mono JIT Code) Google.RunOnMainThread:RunAction (System.Action) (at Z:/tmp/tmp.MI6gIp8Q3C/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:343)
0x000001ad5ab2554b (Mono JIT Code) Google.RunOnMainThread:ExecuteAllUnnested (bool) (at Z:/tmp/tmp.MI6gIp8Q3C/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:530)
0x000001ad5ab24df3 (Mono JIT Code) Google.RunOnMainThread:Run (System.Action,bool) (at Z:/tmp/tmp.MI6gIp8Q3C/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:472)
0x000001adf65c6a73 (Mono JIT Code) Google.PortableWebRequest:StartRequestOnMainThread (Google.PortableWebRequest/HttpMethod,string,System.Collections.Generic.IDictionary`2<string, string>,UnityEngine.WWWForm) (at Z:/tmp/tmp.MI6gIp8Q3C/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/PortableWebRequest.cs:457)
0x000001adf65c6203 (Mono JIT Code) Google.PortableWebRequest:Post (string,System.Collections.Generic.IDictionary`2<string, string>,System.Collections.Generic.IEnumerable`1<System.Collections.Generic.KeyValuePair`2<string, string>>) (at Z:/tmp/tmp.MI6gIp8Q3C/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/PortableWebRequest.cs:531)
0x000001adf65c55c3 (Mono JIT Code) Google.PortableWebRequest:Post (string,System.Collections.Generic.IEnumerable`1<System.Collections.Generic.KeyValuePair`2<string, string>>,System.Collections.Generic.IDictionary`2<string, string>,System.Collections.Generic.IEnumerable`1<System.Collections.Generic.KeyValuePair`2<string, string>>) (at Z:/tmp/tmp.MI6gIp8Q3C/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/PortableWebRequest.cs:559)
0x000001adeeee83f9 (Mono JIT Code) Google.EditorMeasurement/<Report>c__AnonStorey1:<>m__0 () (at Z:/tmp/tmp.MI6gIp8Q3C/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/EditorMeasurement.cs:516)
0x000001adeeee7215 (Mono JIT Code) Google.EditorMeasurement:PromptToEnable (System.Action) (at Z:/tmp/tmp.MI6gIp8Q3C/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/EditorMeasurement.cs:359)
0x000001adeeee705b (Mono JIT Code) Google.EditorMeasurement:Report (string,string) (at Z:/tmp/tmp.MI6gIp8Q3C/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/EditorMeasurement.cs:494)
0x000001ae1e267fbb (Mono JIT Code) Firebase.Crashlytics.Editor.AndroidPreBuild:UpdateResourceFiles ()
0x000001ae1e267c83 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr)
0x00007ff93d7d4c2e (mono-2.0-bdwgc) mono_jit_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/mini/mini-runtime.c:3445)
0x00007ff93d70d254 (mono-2.0-bdwgc) do_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3068)
0x00007ff93d714b5f (mono-2.0-bdwgc) mono_runtime_try_invoke_array (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:5770)
0x00007ff93d644ee2 (mono-2.0-bdwgc) ves_icall_InternalInvoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/icall.c:4041)
0x00007ff93d66b0c1 (mono-2.0-bdwgc) ves_icall_InternalInvoke_raw (at C:/build/output/Unity-Technologies/mono/mono/metadata/icall-def.h:692)
0x000001ad58669780 (Mono JIT Code) (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo:InternalInvoke (System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
0x000001ad58668c4b (Mono JIT Code) System.Reflection.RuntimeMethodInfo:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
0x000001ad58668b0e (Mono JIT Code) System.Reflection.MethodBase:Invoke (object,object[])
0x000001ae1e267b1b (Mono JIT Code) UnityEditor.Build.BuildPipelineInterfaces/AttributeCallbackWrapper:OnProcessScene (UnityEngine.SceneManagement.Scene,UnityEditor.Build.Reporting.BuildReport)
0x000001ae1e2663e0 (Mono JIT Code) UnityEditor.Build.BuildPipelineInterfaces/<>c__DisplayClass17_0:<OnSceneProcess>b__1 (UnityEditor.Build.IProcessSceneWithReport)
0x000001ae1dd91aee (Mono JIT Code) UnityEditor.Build.BuildPipelineInterfaces:InvokeCallbackInterfacesPair<T1_REF, T2_REF> (System.Collections.Generic.List`1<T1_REF>,System.Action`1<T1_REF>,System.Collections.Generic.List`1<T2_REF>,System.Action`1<T2_REF>,bool)
0x000001ae1e265fdb (Mono JIT Code) UnityEditor.Build.BuildPipelineInterfaces:OnSceneProcess (UnityEngine.SceneManagement.Scene,UnityEditor.Build.Reporting.BuildReport)
0x000001ae1e266116 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_Scene_object (object,intptr,intptr,intptr)
0x00007ff93d7d4c2e (mono-2.0-bdwgc) mono_jit_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/mini/mini-runtime.c:3445)
0x00007ff93d70d254 (mono-2.0-bdwgc) do_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3068)
0x00007ff93d70d3cc (mono-2.0-bdwgc) mono_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3115)
0x00007ff6dc097a54 (Unity) scripting_method_invoke
0x00007ff6dc075664 (Unity) ScriptingInvocation::Invoke
0x00007ff6dc070185 (Unity) ScriptingInvocation::Invoke<void>
0x00007ff6dc1c0c28 (Unity) Scripting::UnityEditor::Build::BuildPipelineInterfacesProxy::OnSceneProcess
0x00007ff6dbd0394b (Unity) ProcessSceneBeforeExport
0x00007ff6ddb979e6 (Unity) BuildCopyGameScene
0x00007ff6ddb9cd0d (Unity) BuildPlayerData
0x00007ff6ddba8727 (Unity) DoBuildPlayer_Build
0x00007ff6ddba7136 (Unity) DoBuildPlayer
0x00007ff6ddb9a588 (Unity) BuildPlayer
0x00007ff6db8ff9ef (Unity) BuildPipeline::BuildPlayerInternalNoCheck
0x00007ff6db73b83c (Unity) BuildPipeline_CUSTOM_BuildPlayerInternalNoCheck
0x000001adeecc1a07 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck (string[],string,string,UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,int,UnityEditor.BuildOptions,string[],bool)
0x000001adeecc11d3 (Mono JIT Code) UnityEditor.BuildPlayerWindow/DefaultBuildMethods:BuildPlayer (UnityEditor.BuildPlayerOptions)
0x000001ae1dadd8ab (Mono JIT Code) UnityEditor.BuildPlayerWindow:CallBuildMethods (bool,UnityEditor.BuildOptions)
0x000001ae1dacf94b (Mono JIT Code) UnityEditor.BuildPlayerWindow:GUIBuildButtons (UnityEditor.Modules.IBuildWindowExtension,bool,bool,bool,UnityEditor.Build.BuildPlatform,UnityEditor.Modules.IBuildPostprocessor)
0x000001ae1dac3f03 (Mono JIT Code) UnityEditor.BuildPlayerWindow:ShowBuildTargetSettings ()
0x000001ae1dab873b (Mono JIT Code) UnityEditor.BuildPlayerWindow:OnGUI ()
0x000001adeb6636a2 (Mono JIT Code) UnityEditor.HostView:InvokeOnGUI (UnityEngine.Rect)
0x000001adeb663483 (Mono JIT Code) UnityEditor.DockArea:DrawView (UnityEngine.Rect)
0x000001adeb64f6eb (Mono JIT Code) UnityEditor.DockArea:OldOnGUI ()
0x000001adeb5da2ef (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:DoOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect,System.Action,bool)
0x000001adeb64d83b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,System.Action,bool)
0x000001ab22ebaf9b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,System.Action,bool)
0x000001ab22ebadf3 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,bool)
0x000001ab22eba93b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUIRaw (UnityEngine.UIElements.EventBase,bool,bool)
0x000001ab22eba823 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUI (UnityEngine.UIElements.EventBase,bool,bool)
0x000001adc1bbee43 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:ProcessEvent (UnityEngine.UIElements.EventBase)
0x000001adc1bbe9a3 (Mono JIT Code) UnityEngine.UIElements.CallbackEventHandler:HandleEvent (UnityEngine.UIElements.EventBase)
0x000001adc1bbe6df (Mono JIT Code) UnityEngine.UIElements.CallbackEventHandler:HandleEventAtCurrentTargetAndPhase (UnityEngine.UIElements.EventBase)
0x000001adc1bbe3d3 (Mono JIT Code) UnityEngine.UIElements.CallbackEventHandler:HandleEventAtTargetPhase (UnityEngine.UIElements.EventBase)
0x000001ae1674cacb (Mono JIT Code) UnityEngine.UIElements.MouseCaptureDispatchingStrategy:DispatchEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x000001adc5f79f0e (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,bool)
0x000001adc5f797bb (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x000001adc1bafc73 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEventQueue ()
0x000001adc1bafa2b (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:OpenGate ()
0x000001adc1baf94b (Mono JIT Code) UnityEngine.UIElements.EventDispatcherGate:Dispose ()
0x000001adc5f79cbb (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x000001adc5f79003 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:Dispatch (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,UnityEngine.UIElements.DispatchMode)
0x000001adc5f78e5b (Mono JIT Code) UnityEngine.UIElements.BaseVisualElementPanel:SendEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.DispatchMode)
0x000001adeb5b1343 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel)
0x000001adeb5b0dd3 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (int,intptr,bool&)
0x000001adeb5b0b8f (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration:ProcessEvent (int,intptr)
0x000001adeb5b0aab (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration/<>c:<.cctor>b__1_2 (int,intptr)
0x000001adc7c2ffa5 (Mono JIT Code) UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
0x000001adeb5b0096 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_int_intptr_intptr& (object,intptr,intptr,intptr)
0x00007ff93d7d4c2e (mono-2.0-bdwgc) mono_jit_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/mini/mini-runtime.c:3445)
0x00007ff93d70d254 (mono-2.0-bdwgc) do_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3068)
0x00007ff93d70d3cc (mono-2.0-bdwgc) mono_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3115)
0x00007ff6dc097a54 (Unity) scripting_method_invoke
0x00007ff6dc075664 (Unity) ScriptingInvocation::Invoke
0x00007ff6dc070185 (Unity) ScriptingInvocation::Invoke<void>
0x00007ff6dc1c985a (Unity) Scripting::UnityEngine::GUIUtilityProxy::ProcessEvent
0x00007ff6dcbcd734 (Unity) GUIView::ProcessRetainedMode
0x00007ff6dd1a7cb0 (Unity) GUIView::OnInputEvent
0x00007ff6dcbcd663 (Unity) GUIView::ProcessInputEventFromAPI
0x00007ff6dcbcd538 (Unity) GUIView::ProcessInputEvent
0x00007ff6dd1a8aee (Unity) GUIView::ProcessEventMessages
0x00007ff6dd1a2904 (Unity) GUIView::GUIViewWndProc
0x00007ff9ba0e82e1 (USER32) DispatchMessageW
0x00007ff9ba0e7da1 (USER32) DispatchMessageW
0x00007ff6dd17bc13 (Unity) MainMessageLoop
0x00007ff6dd181114 (Unity) WinMain
0x00007ff6de532ffe (Unity) __scrt_common_main_seh
0x00007ff9b8c2257d (KERNEL32) BaseThreadInitThunk
0x00007ff9bac2af28 (ntdll) RtlUserThreadStart

Asset Pipeline Refresh (id=dbf6ce84c4901ec48b2a4d421732953f): Total: 0.021 seconds - Initiated by RefreshV2(NoUpdateAssetOptions)

Before that nothing special, just an android manifest log

So, judging from the log, the build has finished and there’s a file produced ?

But then Unity tried to import assets and dialog appeared, asset importing has finished, but dialog didn’t disappear?

No, build didn’t even start. No files in the Builds folder (1). There is no even il2cpp build folders as it was before (2).


Hmph, in your copy paste of Editor.log you’re showing a stacktrace, what is above this stacktrace? Any chance you can show full Editor.log?

Editor.txt (483.5 KB)

I am not sure if that’s the cause, but Unity fails to load Google.IOSResolver.dll because it depends on iOSSupport, installing iOSSupport might unblock you.

No, this error is not related to build because I’m building to android only. This error persists in other project and doesn’t make any problem. And yes, I tried to install IOS plugin for editor, nothing changed, same stuck.

Since any exception during the build might cause the build to abort, even in this case… it’s possible EDM4U is invoked during the build and if throws an exception in this case with iOS assembly, it can cause your Android build to fail

I tried to install IOS plugin for editor, nothing changed, same stuck.

By randomly checking if something is not working, I’ve found rhat Resolve function of External Dependecy Manager is not working, button is not openning anything. I deleted it, installed again and now this bug dissappeared. Weird, but it works so.