Builds folder is empty for some 2017 unity versions
Issue
I'm tring to build for 2017.4 Unity version with StandaloneWindows64 target, and build don't work properly.
At the end /root/project/Builds
folder is empty.
Detail
Using the following versions of unity, the Builds folder is empty and no artifacts is produced:
- 2017.3.1
- 2017.4.2
- 2017.4.4
- 2017.4.6
Instead build propertly works using:
- 2017.1.0
Evidences
The difference I noticed during the build among the different versions of unity is the following:
Log related to Empty Builds folder
...
:: Performing build
:: Received customBuildTarget StandaloneWindows64
:: Received customBuildPath ./Builds/StandaloneWindows64
:: Received customBuildName
Error building player because build target was unsupported
(Filename: Line: -1)
...
Log related to Succesful Build
...
:: Performing build
:: Received customBuildTarget StandaloneWindows64
:: Received customBuildPath ./Builds/StandaloneWindows64
:: Received customBuildName
PlayerPrefs - Creating folder: /root/.config/unity3d/DefaultCompany
PlayerPrefs - Creating folder: /root/.config/unity3d/DefaultCompany/ThirdPersonControlOrbitCam
BuildPlayer: start building target 19
- Starting compile Library/ScriptAssemblies/Assembly-CSharp.dll
- Finished compile Library/ScriptAssemblies/Assembly-CSharp.dll
...
It seems like StandaloneWindows64 target is not properly installed.
NOTE: I tried using your unity docker image and tried to build my own. In both cases I tested on gitlab-ci and i local. The result is always the same.
Here the full log files showing the difference highlighted above:
- Working build 2017.1.0.log
- Empty build 2017.3.1.log
- Empty build 2017.4.2.log
Edited by Gabriel Le Breton