Ошибка сборки на unity 2018.2.21f1 на 64 IL2CPP

Программирование для iPhone & Android

Ошибка сборки на unity 2018.2.21f1 на 64 IL2CPP

Сообщение Denny16 17 авг 2019, 11:38

Помогите! Переношу проект из Unity5.5.03 на unity 2018.2.21f1 на 64 IL2CPP. Один проект собрало и перенесло нормально даже с рекламой ADMOB. Когда собираю MONO вместо IL2CPP то все ок.
А на другой проект вбивает ошибки :
Первая :

Failed running C:\Program Files\Unity\Hub\Editor\2018.2.21f1\Editor\Data\il2cpp/build/UnityLinker.exe -out="G:\UNITY_Game2018,2,2\01_Puppy_Dog_Palls\DogPalls\Temp\StagingArea\assets\bin\Data\Managed\tempStrip" -x="C:\Program Files\Unity\Hub\Editor\2018.2.21f1\Editor\Data\PlaybackEngines\AndroidPlayer\Whitelists\Core.xml" -x "G:\UNITY_Game2018,2,2\01_Puppy_Dog_Palls\DogPalls\Temp\StagingArea\assets\bin\Data\Managed\..\platform_native_link.xml" -x "C:\Users\Vlad\AppData\Local\Temp\tmp2c2d0067.tmp" -x "C:\Users\Vlad\AppData\Local\Temp\tmp6978c7af.tmp" -x "C:\Users\Vlad\AppData\Local\Temp\tmp3e62466e.tmp" -d "G:\UNITY_Game2018,2,2\01_Puppy_Dog_Palls\DogPalls\Temp\StagingArea\assets\bin\Data\Managed" -a "G:\UNITY_Game2018,2,2\01_Puppy_Dog_Palls\DogPalls\Temp\StagingArea\assets\bin\Data\Managed\Assembly-CSharp.dll" -a "G:\UNITY_Game2018,2,2\01_Puppy_Dog_Palls\DogPalls\Temp\StagingArea\assets\bin\Data\Managed\UnityEngine.UI.dll" --dotnetruntime=il2cpp --dotnetprofile=legacyunity --use-editor-options

stdout:
Fatal error in Unity CIL Linker
System.IO.FileNotFoundException: ���� 'G:\UNITY_Game2018' �� ������.
��� 䠩��: 'G:\UNITY_Game2018'
� System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
� System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
� System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
� System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy)
� System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
� System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver)
� System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
� System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state)
� System.Xml.XmlTextReaderImpl.OpenUrl()
� System.Xml.XmlTextReaderImpl.Read()
� System.Xml.XPath.XPathDocument.LoadFromReader(XmlReader reader, XmlSpace space)
� System.Xml.XPath.XPathDocument..ctor(String uri, XmlSpace space)
� Unity.Linker.UnityDriver.ParseArguments(Pipeline p, UnityLinkContext context, ArrayList custom_steps, I18nAssemblies& assemblies)
� Unity.Linker.UnityDriver.Run()
� Unity.Linker.UnityDriver.RunDriverWithoutErrorHandling()
� Unity.Linker.UnityDriver.RunDriver()
stderr:

UnityEngine.Debug:LogError(Object)
UnityEditorInternal.Runner:RunProgram(Program, String, String, String, CompilerOutputParserBase) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:128)
UnityEditorInternal.Runner:RunManagedProgram(String, String, String, CompilerOutputParserBase, Action`1) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:73)
UnityEditorInternal.AssemblyStripper:RunAssemblyLinker(IEnumerable`1, String&, String&, String, String) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:91)
UnityEditorInternal.AssemblyStripper:StripAssembliesTo(String[], String[], String, String, String&, String&, String, IIl2CppPlatformProvider, IEnumerable`1, BuildTargetGroup) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:84)
UnityEditorInternal.AssemblyStripper:RunAssemblyStripper(IEnumerable, String, String[], String[], String, IIl2CppPlatformProvider, RuntimeClassRegistry) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:215)
UnityEditorInternal.AssemblyStripper:StripAssemblies(String, IIl2CppPlatformProvider, RuntimeClassRegistry) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:115)
UnityEditorInternal.IL2CPPBuilder:Run() (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:170)
UnityEditorInternal.IL2CPPUtils:RunIl2Cpp(String, String, IIl2CppPlatformProvider, Action`1, RuntimeClassRegistry) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:35)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)




Вторая :


Exception: C:\Program Files\Unity\Hub\Editor\2018.2.21f1\Editor\Data\il2cpp/build/UnityLinker.exe did not run properly!
UnityEditorInternal.Runner.RunProgram (UnityEditor.Utils.Program p, System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:130)
UnityEditorInternal.Runner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, System.Action`1 setupStartInfo) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:73)
UnityEditorInternal.AssemblyStripper.RunAssemblyLinker (IEnumerable`1 args, System.String& out, System.String& err, System.String linkerPath, System.String workingDirectory) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:91)
UnityEditorInternal.AssemblyStripper.StripAssembliesTo (System.String[] assemblies, System.String[] searchDirs, System.String outputFolder, System.String workingDirectory, System.String& output, System.String& error, System.String linkerPath, IIl2CppPlatformProvider platformProvider, IEnumerable`1 additionalBlacklist, BuildTargetGroup buildTargetGroup) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:84)
UnityEditorInternal.AssemblyStripper.RunAssemblyStripper (IEnumerable assemblies, System.String managedAssemblyFolderPath, System.String[] assembliesToStrip, System.String[] searchDirs, System.String monoLinkerPath, IIl2CppPlatformProvider platformProvider, UnityEditor.RuntimeClassRegistry rcr) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:215)
UnityEditorInternal.AssemblyStripper.StripAssemblies (System.String managedAssemblyFolderPath, IIl2CppPlatformProvider platformProvider, UnityEditor.RuntimeClassRegistry rcr) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:115)
UnityEditorInternal.IL2CPPBuilder.Run () (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:170)
UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String tempFolder, System.String stagingAreaData, IIl2CppPlatformProvider platformProvider, System.Action`1 modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:35)
UnityEditor.Android.PostProcessor.Tasks.RunIl2Cpp.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context)
UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context)
UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report)
UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties)
UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTargetGroup targetGroup, BuildTarget target, System.String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:287)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Denny16
UNец
 
Сообщения: 17
Зарегистрирован: 01 авг 2016, 12:17
Откуда: Fiji
Skype: CharlessemAV
  • ICQ
  • YIM

Re: Ошибка сборки на unity 2018.2.21f1 на 64 IL2CPP

Сообщение AngryCat 17 авг 2019, 14:40

Нет русских букв в пути?
Здесь могла бы быть ваша реклама.
Аватара пользователя
AngryCat
Старожил
 
Сообщения: 716
Зарегистрирован: 20 июл 2018, 22:29
Skype: Дискорд - Флеш#4099

Re: Ошибка сборки на unity 2018.2.21f1 на 64 IL2CPP

Сообщение Denny16 17 авг 2019, 17:04

нет. Другой проект собирает,а этот почему то нет
Denny16
UNец
 
Сообщения: 17
Зарегистрирован: 01 авг 2016, 12:17
Откуда: Fiji
Skype: CharlessemAV
  • ICQ
  • YIM

Re: Ошибка сборки на unity 2018.2.21f1 на 64 IL2CPP

Сообщение waruiyume 17 авг 2019, 18:51

Попробуйте удалить папку "library".
Аватара пользователя
waruiyume
Адепт
 
Сообщения: 6143
Зарегистрирован: 30 окт 2010, 05:03
Откуда: Ростов на Дону

Re: Ошибка сборки на unity 2018.2.21f1 на 64 IL2CPP

Сообщение Denny16 18 авг 2019, 18:26

Все работает. Я просто сохранил проект в другой папке и перенес на другой диск. Сейчас другая проблема как подключить рекламу ADMOB и Google play Service
Denny16
UNец
 
Сообщения: 17
Зарегистрирован: 01 авг 2016, 12:17
Откуда: Fiji
Skype: CharlessemAV
  • ICQ
  • YIM


Вернуться в iPhone & Android

Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 2