Search Issue Tracker

Fixed

Votes

2

Found in

5.1.0f3

Issue ID

706321

Regression

No

[WIN] Cross compilation job Assembly-Csharp.dll failed when building for iOS

Deployment Management

-

How to reproduce:

1. Open attached project
2. Build to iOS
- Note that the build fails with error:

Cross compilation job Assembly-CSharp.dll failed.
UnityEngine.UnityException: Failed AOT cross compiler: E:/UnityInstallation/Unity 5.1.1p3/Unity/Editor/Data/PlaybackEngines/iOSSupport\Tools/Win/mono-xcompiler.exe --debug --optimize=-linears --aot=full,asmonly,write-symbols,soft-debug,static,outfile="Assembly-CSharp.dll.s" "Assembly-CSharp.dll" current dir : C:\Users\Unity Technologies\Downloads\case_706321-Bug\Temp/StagingArea/Data/Managed
result file exists: False. Timed out: False

stdout:

stderr:

at UnityEditor.MonoProcessUtility.RunMonoProcess (System.Diagnostics.Process process, System.String name, System.String resultingFile) [0x000df] in C:\buildslave\unity\build\Editor\Mono\BuildPipeline\MonoAssemblyStripping.cs:113
at UnityEditor.MonoCrossCompile.CrossCompileAOT (BuildTarget target, System.String crossCompilerAbsolutePath, System.String assembliesAbsoluteDirectory, CrossCompileOptions crossCompileOptions, System.String input, System.String output, System.String additionalOptions) [0x0033c] in C:\buildslave\unity\build\Editor\Mono\BuildPipeline\MonoCrossCompile.cs:318
at UnityEditor.MonoCrossCompile+JobCompileAOT.ThreadPoolCallback (System.Object threadContext) [0x00000] in C:\buildslave\unity\build\Editor\Mono\BuildPipeline\MonoCrossCompile.cs:52
UnityEditor.HostView:OnGUI()

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.