Build results in empty directory, few errors ahead
I'm trying to configure automated builds on our own gitlab instance for our biggest project yet. Our build is taking long time (4-5h) on our work machines because of thousands of scenes so CI would be really useful.
We're using gableroux/unity3d:2018.4.1f1
. I must admit, I'm quite new to CI, docker and related stuff, but with your help I hope to succeed. I can share 20MB runner log but I would prefer to do it privately and then share a solution publicly if any.
There are a lot of errors to go through:
Assembly 'Assets/Extensions/Behavior Designer/Editor/BehaviorDesigner.Editor.dll' will not be loaded due to errors:
Unable to resolve reference 'BehaviorDesigner.Runtime'. Is the assembly missing or incompatible with the current platform?
Reference validation can be disabled in the Plugin Inspector.
error CS2001: Source file '/builds/root/proj/Assets/Extensions/Gaia/Scripts/Editor/PWCommonMenuAG.cs' could not be found.
/builds/root/proj/Library/PackageCache/com.unity.burst@1.1.2/.Runtime/bcl.exe exited after 2815 ms.
Error while executing command: /builds/root/proj/Library/PackageCache/com.unity.burst@1.1.2/.Runtime/hostlin/vswhere.exe -legacy -latest -format value -property installationPath
System.InvalidOperationException: Error while executing command: /builds/root/proj/Library/PackageCache/com.unity.burst@1.1.2/.Runtime/hostlin/vswhere.exe -legacy -latest -format value -property installationPath ---> System.ComponentModel.Win32Exception: ApplicationName='/builds/root/proj/Library/PackageCache/com.unity.burst@1.1.2/.Runtime/hostlin/vswhere.exe', CommandLine='-legacy -latest -format value -property installationPath', CurrentDirectory='', Native error= Cannot find the specified file
at System.Diagnostics.Process.StartWithCreateProcess (System.Diagnostics.ProcessStartInfo startInfo) [0x002dc] in <0d3e94ab2a1c4d2a8582ccee7031f5c6>:0
at System.Diagnostics.Process.Start () [0x0003a] in <0d3e94ab2a1c4d2a8582ccee7031f5c6>:0
at (wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start()
at Burst.Compiler.IL.Helpers.ProcessHelper.Run (System.String exePath, System.String arguments, System.String workingDirectory, System.IO.TextWriter consoleOut, System.IO.TextWriter consoleErr) [0x000a7] in <3179d4839c86430ca331f2949f40ede5>:0
Error building Player: 4 errors
It takes about 2h and results in empty directory under /Builds/StandaloneWindows64/
. Are above errors making the build fail?
How would I go and investigate the problem? Are there any missing dependencies or components?
I can add that on our local machines the build passes.
Thanks!