Unity Cloud No valid Unity Editor license found. Please activate your license.

We’ve just signed up for a free trial for Unity Cloud’s Devops.
Our build configuration contains 4 platforms

  • Windows
  • MacOs
  • LinuxOs
  • WebGL

I set the build to pull the repository from github and let the Unity Cloud do the magic.
I tried to run Windows build, and everything was fine
But when we tried to run MacOs and Linux Os, it is failed with the following error

[error] [2024-05-23T14:16:23.140Z] - 7.4.5.2.7.4 - FATAL:        ! Unity player export failed!

Here’s the log from that error part

[2024-05-23T14:16:00.588Z] - 7.4.5.2.7.4 - INFO: ++++++++++++++++++++++++++++++++++++++++
[2024-05-23T14:16:00.588Z] - 7.4.5.2.7.4 - INFO: + Installing UnityCloud build tools
[2024-05-23T14:16:00.588Z] - 7.4.5.2.7.4 - INFO: ++++++++++++++++++++++++++++++++++++++++
[2024-05-23T14:16:00.590Z] - 7.4.5.2.7.4 - INFO: ++++++++++++++++++++++++++++++++++++++++
[2024-05-23T14:16:00.590Z] - 7.4.5.2.7.4 - INFO: + Setting Build Target
[2024-05-23T14:16:00.590Z] - 7.4.5.2.7.4 - INFO: ++++++++++++++++++++++++++++++++++++++++
[2024-05-23T14:16:00.590Z] - 7.4.5.2.7.4 - INFO: ++++++++++++++++++++++++++++++++++++++++
[2024-05-23T14:16:00.590Z] - 7.4.5.2.7.4 - INFO: + Inject Scripting Define Symbols
[2024-05-23T14:16:00.590Z] - 7.4.5.2.7.4 - INFO: ++++++++++++++++++++++++++++++++++++++++
[2024-05-23T14:16:00.591Z] - 7.4.5.2.7.4 - INFO:        Injecting custom Scripting Define Symbols 'UNITY_CLOUD_BUILD'
[2024-05-23T14:16:00.591Z] - 7.4.5.2.7.4 - INFO: ++++++++++++++++++++++++++++++++++++++++
[2024-05-23T14:16:00.591Z] - 7.4.5.2.7.4 - INFO: + Cache Enlighten Data
[2024-05-23T14:16:00.591Z] - 7.4.5.2.7.4 - INFO: ++++++++++++++++++++++++++++++++++++++++
[2024-05-23T14:16:00.827Z] - 7.4.5.2.7.4 - INFO: ++++++++++++++++++++++++++++++++++++++++
[2024-05-23T14:16:00.827Z] - 7.4.5.2.7.4 - INFO: + Building Unity player (standalonelinux64)
[2024-05-23T14:16:00.827Z] - 7.4.5.2.7.4 - INFO: ++++++++++++++++++++++++++++++++++++++++
[2024-05-23T14:16:00.881Z] - 7.4.5.2.7.4 - INFO: Running UPM Server on port 10010.
[UnityConnectServicesConfig] Local config successfully read: "/Library/Application Support/Unity/config/services-config.json"
[UnityConnectServicesConfig] "licensingServiceBaseUrl" was overridden with "http://services.pool.unity3d.com:8178"
[UnityConnectServicesConfig] "clientConnectTimeoutSec" was overridden with "120"
[UnityConnectServicesConfig] "clientHandshakeTimeoutSec" was overridden with "60"
[UnityConnectServicesConfig] Service configuration:
    "servicesConfigBaseUrl": "",
    "enableEntitlementLicensing": true,
    "entitlementCacheTimeoutInSeconds": 60,
    "clientConnectTimeoutSec": 120,
    "clientHandshakeTimeoutSec": 60,
    "clientResolveEntitlementsTimeoutSec": 30,
    "clientUpdateLicenseTimeoutSec": 30,
    "licensingServiceBaseUrl": "http://services.pool.unity3d.com:8178"
[2024-05-23T14:16:12Z - Unity] Unity Editor version:    2021.3.12f1 (8af3c3e441b1)
[2024-05-23T14:16:12Z - Unity] Branch:                  2021.3/release
[2024-05-23T14:16:12Z - Unity] Build type:              Release
[2024-05-23T14:16:12Z - Unity] Batch mode:              YES
[2024-05-23T14:16:12Z - Unity] macOS version:           Version 13.5.1 (Build 22G90)
[2024-05-23T14:16:12Z - Unity] Darwin version:          22.6.0
[2024-05-23T14:16:12Z - Unity] Architecture:            x86_64
[2024-05-23T14:16:12Z - Unity] Running under Rosetta:   NO
[2024-05-23T14:16:12Z - Unity] Available memory:        16000 MB
[2024-05-23T14:16:12Z - Unity] Launching external process: /APPLICATION_PATH/Unity.app/Contents/Frameworks/UnityLicensingClient.app/Contents/Resources/Unity.Licensing.Client
[2024-05-23T14:16:12Z - Unity] Entitlement-based licensing initiated
[2024-05-23T14:16:23Z - Unity] Pro License: NO
[2024-05-23T14:16:23Z - Unity] No valid Unity Editor license found. Please activate your license.
[2024-05-23T14:16:23.140Z] - 7.4.5.2.7.4 - INFO:        Unity ran in '22.312947' seconds
[warning] [2024-05-23T14:16:23.140Z] - 7.4.5.2.7.4 - WARN: Running Unity in Batch Mode can help reproduce and debug potential build/test issues.
[warning] [2024-05-23T14:16:23.140Z] - 7.4.5.2.7.4 - WARN: For additional information on building in Batch Mode see https://support.unity.com/hc/en-us/articles/9466056266004-How-do-I-Build-Unity-Project-in-Batchmode-Locally-
[warning] [2024-05-23T14:16:23.140Z] - 7.4.5.2.7.4 - WARN: Try running Unity 2021.3.12f1 in batch mode locally with the following commands:
[warning] [2024-05-23T14:16:23.140Z] - 7.4.5.2.7.4 - WARN: When running from Windows:
[warning] [2024-05-23T14:16:23.140Z] - 7.4.5.2.7.4 - WARN:        "C:\Program Files\Unity\Hub\Editor\2021.3.12f1\Editor\Unity.exe" -logFile {PATH_TO_LOG_FILE} -projectPath {PROJECT_PATH} -batchmode -skipMissingProjectID -skipMissingUPID -buildTarget standalonelinux64 --quit -executeMethod {CLASS_AND_STATIC_METHOD_NAME_OF_BUILD_SCRIPT} -quit
[warning] [2024-05-23T14:16:23.140Z] - 7.4.5.2.7.4 - WARN: When running from Mac:
[warning] [2024-05-23T14:16:23.140Z] - 7.4.5.2.7.4 - WARN:        /APPLICATION_PATH/Unity/Hub/Editor/2021.3.12f1/Unity.app/Contents/MacOS/Unity -logFile {PATH_TO_LOG_FILE} -projectPath {PROJECT_PATH} -batchmode -skipMissingProjectID -skipMissingUPID -buildTarget standalonelinux64 --quit -executeMethod {CLASS_AND_STATIC_METHOD_NAME_OF_BUILD_SCRIPT} -quit
[error] [2024-05-23T14:16:23.140Z] - 7.4.5.2.7.4 - FATAL:        ! Unity player export failed!
  SystemExit (exit):
    /BUILD_PATH/.rvm/gems/ruby-2.7.4/gems/bvr-7.4.5.2.7.4/lib/bvr/build/handlers/unity_compiler.rb:476:in `exit'
    /BUILD_PATH/.rvm/gems/ruby-2.7.4/gems/bvr-7.4.5.2.7.4/lib/bvr/build/handlers/unity_compiler.rb:476:in `block in run_build'
    /BUILD_PATH/.rvm/gems/ruby-2.7.4/gems/bvr-7.4.5.2.7.4/lib/utils/timing.rb:25:in `wrap'
    /BUILD_PATH/.rvm/gems/ruby-2.7.4/gems/bvr-7.4.5.2.7.4/lib/bvr/build/handlers/unity_compiler.rb:458:in `run_build'
    /BUILD_PATH/.rvm/gems/ruby-2.7.4/gems/bvr-7.4.5.2.7.4/lib/bvr/build/handlers/unity_compiler.rb:75:in `block in compile'
    /BUILD_PATH/.rvm/gems/ruby-2.7.4/gems/bvr-7.4.5.2.7.4/lib/utils/timing.rb:25:in `wrap'
    /BUILD_PATH/.rvm/gems/ruby-2.7.4/gems/bvr-7.4.5.2.7.4/lib/bvr/build/handlers/unity_compiler.rb:74:in `compile'
    /BUILD_PATH/.rvm/gems/ruby-2.7.4/gems/bvr-7.4.5.2.7.4/lib/bvr/build/handlers/unity.rb:22:in `compile'
    /BUILD_PATH/.rvm/gems/ruby-2.7.4/gems/bvr-7.4.5.2.7.4/lib/bvr/build/build_handler.rb:195:in `block in compile_handlers'
    /BUILD_PATH/.rvm/gems/ruby-2.7.4/gems/bvr-7.4.5.2.7.4/lib/bvr/build/build_handler.rb:180:in `each'
    /BUILD_PATH/.rvm/gems/ruby-2.7.4/gems/bvr-7.4.5.2.7.4/lib/bvr/build/build_handler.rb:180:in `each_with_index'
    /BUILD_PATH/.rvm/gems/ruby-2.7.4/gems/bvr-7.4.5.2.7.4/lib/bvr/build/build_handler.rb:180:in `compile_handlers'
    /BUILD_PATH/.rvm/gems/ruby-2.7.4/gems/bvr-7.4.5.2.7.4/lib/bvr/build/build_handler.rb:77:in `compile'
    /BUILD_PATH/.rvm/gems/ruby-2.7.4/gems/bvr-7.4.5.2.7.4/lib/bvr/project.rb:142:in `call'

So, is that true that It is failed due to it didn’t get the license?
If yes, how do we fix this?

Well, actually we run those build at the same Hour and Minute

Thanks in advance

Check your Cloud dashboard. Perhaps the message here is misleading and you actually used up the free service usage.

Not a Build Automation user myself (yet). I can imagine when you build for Mac or Linux these builds run on the respective OSs and these have no free tier. Otherwise I can’t explain why Unity lists separate operating systems on their pricing page for build automation unless you have control over which platform to run these autobuilds on.

I see. Thanks for replying
However, Our plan is actually an “Early Access Plan”

I found this blog that explain it.
And basically our plan is the free trial and it allows us to build for other platforms
About the usage part, I haven’t found that yet in the dashboard

Hmm okay then. Perhaps just a temporary issue?

There’s a status page for services. Not sure if license server is in there or whether that’s the “ID” service.