MachineBindings unequal hash
After successfully receiving .ulf
file some build processes fails. The only build task that succeeds is LinuxStandalone
. Others print something about unequal hashes. After small investigation I found that one hash appears in all builds and also in license file in MachineBindings field.
Here is a build log for android, notice LICENSE SYSTEM
messages with unequal hashes on the end. First hash is different for each build target, second is same as in MachineBindings
field.
[0KRunning with gitlab-runner 12.7.0-rc1 (4314e2d9)
[0;m[0K on docker-auto-scale 72989761
[0;msection_start:1579788657:prepare_executor
[0K[0KUsing Docker executor with image gableroux/unity3d:2018.4.1f1-android ...
[0;m[0KPulling docker image gableroux/unity3d:2018.4.1f1-android ...
[0;m[0KUsing docker image sha256:80dff765200f3837fbb079759cfe2c61b09a09438354b44b3ef8a02a541b3dbb for gableroux/unity3d:2018.4.1f1-android ...
...
[0Ksection_start:1579788865:build_script
[0K[32;1m$ chmod +x ./ci/before_script.sh && ./ci/before_script.sh[0;m
+ mkdir -p /root/.cache/unity3d
+ mkdir -p /root/.local/share/unity3d/Unity/
+ set +x
$ANDROID_KEYSTORE_BASE64 found, decoding content into keystore.keystore
Using UNITY_LICENSE_CONTENT_ANDROID env var
Writing UNITY_LICENSE_CONTENT_ANDROID to license file /root/.local/share/unity3d/Unity/Unity_lic.ulf
[32;1m$ chmod +x ./ci/build.sh && ./ci/build.sh[0;m
+ echo 'Building for Android'
Building for Android
+ export BUILD_PATH=./Builds/Android/
+ BUILD_PATH=./Builds/Android/
+ mkdir -p ./Builds/Android/
++ pwd
+ xvfb-run --auto-servernum '--server-args=-screen 0 640x480x24' /opt/Unity/Editor/Unity -projectPath /builds/QuentinCaffeino/zombies-vs-towers -quit -batchmode -buildTarget Android -customBuildTarget Android -customBuildName ExampleProjectName -customBuildPath ./Builds/Android/ -executeMethod BuildCommand.PerformBuild -logFile /dev/stdout
Initiating legacy licensing module
LICENSE SYSTEM [2020123 9:14:35] Next license update check is after 2020-01-24T14:08:05
LICENSE SYSTEM [2020123 9:14:35] 40cdfad635ab4bbf872e4f28b7a0ea32 != c27909d5c9e54cb787cd8b58e2bb7fc1
LICENSE SYSTEM [2020123 9:14:35] 40cdfad635ab4bbf872e4f28b7a0ea32 != c27909d5c9e54cb787cd8b58e2bb7fc1
DisplayProgressbar: Unity license
[UnityConnectServicesConfig] config is NOT valid, switching to default
[0123/091436:ERROR:browser_main_loop.cc(161)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
Cancelling DisplayDialog: Failed to activate/update license. Missing or bad username and password. Please try again using valid credentials or contact support@unity3d.com
This should not be called in batch mode.
(Filename: /home/builduser/buildslave/unity/build/Editor/Platform/Linux/EditorUtility.cpp Line: 257)
section_end:1579788916:build_script
[0Ksection_start:1579788916:after_script
[0Ksection_end:1579788918:after_script
[0Ksection_start:1579788918:upload_artifacts_on_failure
[0Ksection_end:1579788919:upload_artifacts_on_failure
[0K[31;1mERROR: Job failed: exit code 1
[0;m
Haven't found anything related in existing issues.
I'm using Unity 2018.4.1f1
on linux on personal license, I've tried creating license file with gitlab-ci and locally in docker, all produce same result.
Edited by Gabriel Le Breton