Unity issues with 64 bit requirement on Google Developer Console

When I try to build my project for Android having Scripting Backend on Mono and ARM64 deactivated, I can buid the aab, but it gives me the 64 bit requirement, but when I try to build my project having Scripting Backend on IL2CPP and ARM64 activated, I cannot build the aab, giving me the following errors:
Error 1:
Failed running C:\Program Files\Unity\Hub\Editor\2019.3.10f1\Editor\Data\il2cpp\build/deploy/net471/UnityLinker.exe -out=“C:/Users/zzzPC/Unity Games/Fly Food , Fly!/Temp/StagingArea/assets/bin/Data/Managed/tempStrip” -x=“C:/Users/zzzPC/Unity Games/Fly Food , Fly!/Temp/StagingArea/assets/bin/Data/Managed/…/platform_native_link.xml” -x=C:/Users/zzzPC/AppData/Local/Temp/tmp5b5230db.tmp -x=C:/Users/zzzPC/AppData/Local/Temp/tmp3f32d94.tmp -x=“C:/Users/zzzPC/Unity Games/Fly Food , Fly!/Temp/StagingArea/assets/bin/Data/Managed/TypesInScenes.xml” -d=“C:/Users/zzzPC/Unity Games/Fly Food , Fly!/Temp/StagingArea/assets/bin/Data/Managed” --include-unity-root-assembly=“C:/Users/zzzPC/Unity Games/Fly Food , Fly!/Temp/StagingArea/assets/bin/Data/Managed/Assembly-CSharp.dll” --include-unity-root-assembly=“C:/Users/zzzPC/Unity Games/Fly Food , Fly!/Temp/StagingArea/assets/bin/Data/Managed/UnityEngine.UI.dll” --dotnetruntime=il2cpp --dotnetprofile=unityaot --use-editor-options --include-directory=“C:/Users/zzzPC/Unity Games/Fly Food , Fly!/Temp/StagingArea/assets/bin/Data/Managed” --rule-set=Conservative --editor-data-file=“C:/Users/zzzPC/Unity Games/Fly Food , Fly!/Temp/StagingArea/assets/bin/Data/Managed/EditorToUnityLinkerData.json” --platform=Android --enable-engine-module-stripping --engine-stripping-flag=EnableUnityConnect --engine-stripping-flag=EnableCrashReporting --engine-modules-asset-file=“C:/Program Files/Unity/Hub/Editor/2019.3.10f1/Editor/Data/PlaybackEngines/AndroidPlayer/Whitelists/…/modules.asset”

stdout:
Fatal error in Unity CIL Linker
System.IO.FileNotFoundException: Could not find file ‘C:\Users\zzzPC\Unity Games\Fly Food’.
File name: ‘C:\Users\zzzPC\Unity Games\Fly Food’
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at 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)
at System.IO.FileStream…ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy)
at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
at System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state)
at System.Xml.XmlTextReaderImpl.OpenUrl()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XPath.XPathDocument.LoadFromReader(XmlReader reader, XmlSpace space)
at System.Xml.XPath.XPathDocument…ctor(String uri, XmlSpace space)
at Unity.Linker.UnityDriver.ParseArguments(Pipeline p, UnityLinkContext context, ArrayList custom_steps, I18nAssemblies& assemblies)
at Unity.Linker.UnityDriver.Run()
at Unity.Linker.UnityDriver.RunDriverWithoutErrorHandling()
at Unity.Linker.UnityDriver.RunDriver()
stderr:

UnityEngine.Debug:LogError(Object)
UnityEditorInternal.Runner:RunProgram(Program, String, String, String, CompilerOutputParserBase)
UnityEditorInternal.Runner:RunManagedProgram(String, String, String, CompilerOutputParserBase, Action1) UnityEditorInternal.AssemblyStripper:RunAssemblyLinker(IEnumerable1, String&, String&, String, String)
UnityEditorInternal.AssemblyStripper:StripAssembliesTo(String, String&, String&, IEnumerable1, UnityLinkerRunInformation) UnityEditorInternal.AssemblyStripper:RunAssemblyStripper(UnityLinkerRunInformation) UnityEditorInternal.AssemblyStripper:StripAssemblies(String, BaseUnityLinkerPlatformProvider, IIl2CppPlatformProvider, RuntimeClassRegistry, ManagedStrippingLevel) UnityEditorInternal.IL2CPPBuilder:Run() UnityEditorInternal.IL2CPPUtils:RunIl2Cpp(String, String, IIl2CppPlatformProvider, Action1, RuntimeClassRegistry)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Error 2:
Exception: C:\Program Files\Unity\Hub\Editor\2019.3.10f1\Editor\Data\il2cpp\build/deploy/net471/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 <17b72532ee2c4da1b6f632d3f1705fe0>:0)
UnityEditorInternal.Runner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, System.Action1[T] setupStartInfo) (at <17b72532ee2c4da1b6f632d3f1705fe0>:0)** **UnityEditorInternal.AssemblyStripper.RunAssemblyLinker (System.Collections.Generic.IEnumerable1[T] args, System.String& out, System.String& err, System.String linkerPath, System.String workingDirectory) (at <17b72532ee2c4da1b6f632d3f1705fe0>:0)
UnityEditorInternal.AssemblyStripper.StripAssembliesTo (System.String outputFolder, System.String& output, System.String& error, System.Collections.Generic.IEnumerable1[T] linkXmlFiles, UnityEditorInternal.UnityLinkerRunInformation runInformation) (at <17b72532ee2c4da1b6f632d3f1705fe0>:0)** **UnityEditorInternal.AssemblyStripper.RunAssemblyStripper (UnityEditorInternal.UnityLinkerRunInformation runInformation) (at <17b72532ee2c4da1b6f632d3f1705fe0>:0)** **UnityEditorInternal.AssemblyStripper.StripAssemblies (System.String managedAssemblyFolderPath, UnityEditorInternal.BaseUnityLinkerPlatformProvider unityLinkerPlatformProvider, UnityEditorInternal.IIl2CppPlatformProvider il2cppPlatformProvider, UnityEditor.RuntimeClassRegistry rcr, UnityEditor.ManagedStrippingLevel managedStrippingLevel) (at <17b72532ee2c4da1b6f632d3f1705fe0>:0)** **UnityEditorInternal.IL2CPPBuilder.Run () (at <17b72532ee2c4da1b6f632d3f1705fe0>:0)** **UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String tempFolder, System.String stagingAreaData, UnityEditorInternal.IIl2CppPlatformProvider platformProvider, System.Action1[T] modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry) (at <17b72532ee2c4da1b6f632d3f1705fe0>:0)
UnityEditor.Android.PostProcessor.Tasks.RunIl2Cpp.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at :0)
UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at :0)
UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (UnityEditor.BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at :0)
UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at :0)
UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at <17b72532ee2c4da1b6f632d3f1705fe0>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Error 3:
Build completed with a result of ‘Failed’ in 139 seconds (139201 ms)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Error 4:
UnityEditor.BuildPlayerWindow+BuildMethodException: 3 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002bb] in <17b72532ee2c4da1b6f632d3f1705fe0>:0
at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in <17b72532ee2c4da1b6f632d3f1705fe0>:0
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

I have Unity 2019.3.10f1 and the NDK, SDK, JDK set up by Unity Hub.
Any help is appreciated.

Do you really have a folder named “Fly Food , Fly!” ?

Something’s wrong with project path, it supposed to be:

C:/Users/zzzPC/Unity Games/Fly Food , Fly!

but later on Unity says

Could not find file 'C:\Users\zzzPC\Unity Games\Fly Food'.

Can you try putting your project into path without whitespaces or commas, and see if that helps?

Yes I have a folder called “Fly Food, Fly!”.

Hi Tomas,
I have followed your advice and it’s working. I have removed the commas, exclamation mark and whitespaces from the project name(from the pc folder and from unity → Services → Project Name), Visual Studio .sln name and product name from Unity. Then, I restarted the pc and I managed to buid the .aab. Thank you very much for all your help :slight_smile:

1 Like