![](https://img.php1.cn/3cd4a/1eebe/cd5/43a754c811e7ec5c.webp)
Export Android Project 崩溃crash问题
重现过程:Android - Export Project勾选 - Build,弹出选择导出工程文件目录地址弹窗,在该选择目录弹窗新建一个新的文件夹目录,选中它作为导出目录,点击确认,Unity崩溃。
解决方法:不要在选择导出目录弹窗新建文件夹,必须选中已有的文件夹作为导出目录,也就是你必须提前创建好这个导出目录文件夹。
具体原因:???
崩溃日志:
=================================================================Native Crash Reporting
=================================================================
Got a UNKNOWN while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
==================================================================================================================================Managed Stacktrace:
&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;at <0xffffffff>at UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck <0x000d6>at DefaultBuildMethods:BuildPlayer <0x004b2>at UnityEditor.BuildPlayerWindow:CallBuildMethods <0x004d2>at UnityEditor.BuildPlayerWindow:GUIBuildButtons <0x00ef2>at UnityEditor.BuildPlayerWindow:ShowBuildTargetSettings <0x02182>at UnityEditor.BuildPlayerWindow:OnGUI <0x00472>at UnityEditor.HostView:InvokeOnGUI <0x00159>at UnityEditor.DockArea:DrawView <0x00042>at UnityEditor.DockArea:OldOnGUI <0x00afa>at UnityEngine.UIElements.IMGUIContainer:DoOnGUI <0x008ee>at UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent <0x0040a>at UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent <0x0014a>at UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent <0x00032>at UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUIRaw <0x000ba>at UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUI <0x005b2>at UnityEngine.UIElements.IMGUIContainer:HandleEvent <0x0010a>at UnityEngine.UIElements.CallbackEventHandler:HandleEventAtTargetPhase <0x00047>at UnityEngine.UIElements.MouseCaptureDispatchingStrategy:DispatchEvent <0x0064a>at UnityEngine.UIElements.EventDispatcher:ApplyDispatchingStrategies <0x000ad>at UnityEngine.UIElements.EventDispatcher:ProcessEvent <0x0017a>at UnityEngine.UIElements.EventDispatcher:ProcessEventQueue <0x0014a>at UnityEngine.UIElements.EventDispatcher:OpenGate <0x00072>at UnityEngine.UIElements.EventDispatcherGate:Dispose <0x0002a>at UnityEngine.UIElements.EventDispatcher:ProcessEvent <0x00402>at UnityEngine.UIElements.EventDispatcher:Dispatch <0x00132>at UnityEngine.UIElements.BaseVisualElementPanel:SendEvent <0x0007a>at UnityEngine.UIElements.UIElementsUtility:DoDispatch <0x0034a>at UnityEngine.UIElements.UIElementsUtility:UnityEngine.UIElements.IUIElementsUtility.ProcessEvent <0x000f2>at UnityEngine.UIElements.UIEventRegistration:ProcessEvent <0x0008e>at <>c:<.cctor>b__1_2 <0x0002a>at UnityEngine.GUIUtility:ProcessEvent <0x0005c>at :runtime_invoke_void_int_intptr_intptr& <0x00095>
&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;
Received signal SIGSEGV
Obtained 2 stack frames
RtlLookupFunctionEntry returned NULL function. Aborting stack walk.