[UNITY] [WebGL] The Unity License prevents the build

Hello, 

The problem im having is that when i try to build Unity cloud WebGL, the License of the unity builder fails and i cant set that license or any parameters, so the builds get canceled, any idea on how to pass the license?

 

Clearing temporary directory: Z:\buildAgent\temp\buildTmp
09:47:12 Publishing internal artifacts
09:47:12 Full checkout enforced. Reason: [Checkout directory is empty or doesn't exist]
09:47:12 Will perform clean checkout. Reason: Checkout directory is empty or doesn't exist
09:47:12 Checkout directory: Z:\buildAgent\work\b0d1918ccad1037e
09:47:12 Updating sources: auto checkout (on agent)
09:47:12   Will use agent side checkout
09:47:12   VCS Root: https://gitlab.com/XXX/XXX.git#refs/heads/development
09:48:42 Step 1/1: Unity
09:48:42   Starting: C:\Program Files\Unity\Hub\Editor\2021.3.4f1\Editor\Unity.exe -batchmode -projectPath XXX_WebGL -quit -logFile Z:\buildAgent\temp\agentTmp\unityBuildLog-17655639692101472926.txt
09:48:42   in directory: Z:\buildAgent\work\b0d1918ccad1037e
09:48:58   [LicensingClient] Channel doesn't exist: "LicenseClient-builduser"
09:48:59   [Licensing::Module] Successfully launched the LicensingClient (PId: 940)
09:49:31   [LicensingClient] Handshaking with LicensingClient (version: 1.9.0+249add7)
09:49:31   [Licensing::Module] Successfully connected to LicensingClient on channel: "LicenseClient-builduser" (connect: 19.67s, validation: 0.05s, handshake: 12.51s)
09:49:31   [Licensing::Module] Connected to LicensingClient (PId: 940, launch time: 0.54, total connection time: 32.23s)
09:49:31   Entitlement-based licensing initiated
09:49:31   [Licensing::Module] Error: Access token is unavailable
09:49:31   [LicensingClient] Licenses updated successfully
09:49:31   BatchMode: Unity has not been activated with a valid License. Could be a new activation or renewal...
09:49:31   [UnityConnectServicesConfig] config is NOT valid, switching to default
09:50:31   Process exited with code 1
09:50:32   Cancelling DisplayDialog: Failed to activate/update license Missing or bad username or password. Please try again using valid credentials or contact support@unity3d.com
09:50:31   This should not be called in batch mode.
09:50:32   Process exited with code 1 (Step: Unity)
09:50:32   Step Unity failed
09:50:36 Publishing artifacts
09:50:36 Publishing internal artifacts
09:50:37 Build finished

0
1 comment

Hello,

Are you still experiencing this issue? It seems to be the following known bug, that has been recently fixed:

https://youtrack.jetbrains.com/issue/TW-75800

Can you try to update the plugin to the latest version and see if the issue persists?

Thank you,

Guilherme

0

Please sign in to leave a comment.