unity 打包Error:WebException: The remote server returned an error: (403) Forbidden.

記一下在ios上打包出錯:ios

UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errorsui

at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (BuildPlayerOptions options) [0x0020e] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:181spa

at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askForBuildLocation, BuildOptions defaultBuildOptions) [0x00065] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:88it

UnityEngine.GUIUtility:processEvent(Int32, IntPtr)io

以前是不出錯的,但不知道怎麼這次打開就出現了這個錯誤class

 

 

解決方法:1:Edit->Project Settings -> Editor -> Asset Serialziation  Mode設置為 Force Text 打包

2:在該項目下找到ProjectSettings->UnityConnectSetting.asset,用vs或者文本編輯器打開,找到CrashReportingSettings下的m_Enabled:1改為m_Enabled:0便可方法

 

再次打包生成成功,並且沒有拋出異常。error

相關文章
相關標籤/搜索