Search Issue Tracker

Fixed in 2020.1.X

Fixed in 2019.2.X, 2019.3.X

Votes

0

Found in

2019.3.0a6

Issue ID

1162618

Regression

No

[ARM] Executable Only build fails in Editor

Due to lack of an ARM device, it is not certain if the same error happens when build through "Build and Run"

Repro:
1. Create an new or use an existing project
2. Build for UWP platform, and set Build Settings to Architecture = ARM, Build Type = Executable Only
3. Build

Actual: Error messages in the Console window and build fails in the Editor

Note: It seems this is caused by error in command line (ARM instead of ARMv7). See attached file for full error message

<p><code>
Failed running D:\Unity_Source_Code\unity\build\WindowsEditor\Data\il2cpp\build/UnityLinker.exe -out=D:/Unity_Projects/DesktopTestProject/Temp/StagingArea/Data/Managed/tempStrip -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/Core.xml -x=C:/Users/jia/AppData/Local/Temp/tmp6ef27b5.tmp -x=C:/Users/jia/AppData/Local/Temp/tmp5178f640.tmp -x=D:/Unity_Projects/DesktopTestProject/Temp/StagingArea/Data/Managed/TypesInScenes.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/Accessibility.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/AI.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/AndroidJNI.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/Animation.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/AR.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/AssetBundle.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/Audio.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/Cloth.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/Core.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/CrashReporting.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/Director.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/DSPGraph.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/GameCenter.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/Grid.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/HotReload.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/ImageConversion.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/IMGUI.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/Input.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/InputLegacy.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/JSONSerialize.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/Localization.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/ParticleSystem.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/PerformanceReporting.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/Physics.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/Physics2D.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/Profiler.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/ScreenCapture.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/SharedInternals.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/SpriteMask.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/SpriteShape.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/Streaming.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/Substance.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/Terrain.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/TerrainPhysics.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/TextCore.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/TextRendering.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/Tilemap.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/TLS.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/UI.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/UIElements.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/Umbra.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/UNET.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/UnityAnalytics.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/UnityConnect.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/UnityTestProtocol.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/UnityWebRequest.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/UnityWebRequestAssetBundle.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/UnityWebRequestAudio.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/UnityWebRequestTexture.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/UnityWebRequestWWW.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/Vehicles.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/VFX.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/Video.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/VR.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/Wind.xml -x=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/XR.xml -d=D:/Unity_Projects/DesktopTestProject/Temp/StagingArea/Data/Managed --include-unity-root-assembly=D:/Unity_Projects/DesktopTestProject/Temp/StagingArea/Data/Managed/Assembly-CSharp.dll --include-unity-root-assembly=D:/Unity_Projects/DesktopTestProject/Temp/StagingArea/Data/Managed/UnityEngine.UI.dll --include-unity-root-assembly=D:/Unity_Projects/DesktopTestProject/Temp/StagingArea/Data/Managed/com.unity.multiplayer-hlapi.Runtime.dll --include-unity-root-assembly=D:/Unity_Projects/DesktopTestProject/Temp/StagingArea/Data/Managed/I18N.CJK.dll --include-unity-root-assembly=D:/Unity_Projects/DesktopTestProject/Temp/StagingArea/Data/Managed/I18N.dll --include-unity-root-assembly=D:/Unity_Projects/DesktopTestProject/Temp/StagingArea/Data/Managed/I18N.MidEast.dll --include-unity-root-assembly=D:/Unity_Projects/DesktopTestProject/Temp/StagingArea/Data/Managed/I18N.Other.dll --include-unity-root-assembly=D:/Unity_Projects/DesktopTestProject/Temp/StagingArea/Data/Managed/I18N.Rare.dll --include-unity-root-assembly=D:/Unity_Projects/DesktopTestProject/Temp/StagingArea/Data/Managed/I18N.West.dll --dotnetruntime=il2cpp --dotnetprofile=unityaot --use-editor-options --include-directory=D:/Unity_Projects/DesktopTestProject/Temp/StagingArea/Data/Managed --rule-set=Conservative --editor-data-file=D:/Unity_Projects/DesktopTestProject/Temp/StagingArea/Data/Managed/EditorToUnityLinkerData.json --platform=WinRT --architecture=ARM --disable-engine-module-support --engine-modules-asset-file=D:/Unity_Source_Code/unity/build/MetroSupport/Whitelists/../modules.asset

stdout:
stderr:

Unhandled Exception: System.ArgumentException: Unknown architecture: ARM.
at Unity.IL2CPP.Common.OptionsHelpers.CommonCustomOptionParser(Type fieldType, String value)
at Unity.Options.OptionsParser.ParseValue(Type type, String value, Func`3 customValueParser)
at Unity.Options.OptionsParser.SetBasicType(FieldInfo field, String v, Func`3 customValueParser)
at NDesk.Options.Option.Invoke(OptionContext c)
at NDesk.Options.OptionSet.Parse(String argument, OptionContext context)
at NDesk.Options.OptionSet.Parse(IEnumerable`1 arguments, String currentDirectory)
at Unity.Options.OptionsParser.Prepare(String[] commandLine, Type[] types, Func`3 customValueParser, String currentDirectory)
at Unity.Linker.LinkerOptions.InitAndSetup(String[] args)
at Unity.Linker.UnityDriver..ctor(String[] args)
at Unity.Linker.Program.Main(String[] args)
</code></p>

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.