game-ci / unity-builder

Build Unity projects for different platforms
https://github.com/marketplace/actions/unity-builder
MIT License
857 stars 253 forks source link

Unable to get valid Unity Pro Serial to be recognized #617

Closed DakotaIrsik closed 11 months ago

DakotaIrsik commented 11 months ago

Bug description

Cannot login with sso valid credentials with UNITY_SERIAL. use SSO @gmail to sign in to unity, and same account after resestting password and being able to sign in at id.unity.com doesn't work, and now the personal one doesn't work either.

using workflow here: https://github.com/DakotaIrsik/NeonLadder/blob/main/.github/workflows/unity-builds.yml

How to reproduce

  1. Register SSO @ Unity site.
  2. Upgrade Personal to Pro License
  3. Use

    UNITY_EMAIL UNITY_PASSWORD UNITY_SERIAL

produces all licens checks fail:

iOS build example

Missing Unity License File and no Serial was found. If this
                            is a personal license, make sure to follow the activation
                            steps and set the UNITY_LICENSE GitHub secret or enter a Unity
                            serial number inside the UNITY_SERIAL GitHub secret.

Expected behavior

The builds to pass

Additional details

It's possible I'm misconfiguring, but I possibly this is also a SSO request which I couldn't find, and since I successfully logged in to id.unity, feels like a bug.

Screenshot 2023-12-21 221739

DakotaIrsik commented 11 months ago

FWIW, I'm reasonably sure this is because since it's a Free month promotion for the unity pro the license is "TECHNICALLY" labeled as a "Trial" as reported in Unity Hub.

DakotaIrsik commented 11 months ago

Ticket submitted to unity: image

GabLeRoux commented 11 months ago

GameCI is built by the community. Unity doesn't officially support GameCI. If you need this urgently, I would recommend having a look at the related activation code in the actions.

From your linked repository, here is a detailed full log ``` 2023-12-22T03:57:35.4243645Z Requested labels: ubuntu-latest 2023-12-22T03:57:35.4244049Z Job defined at: DakotaIrsik/NeonLadder/.github/workflows/unity-builds.yml@refs/heads/main 2023-12-22T03:57:35.4244222Z Waiting for a runner to pick up this job... 2023-12-22T03:57:36.4852712Z Job is waiting for a hosted runner to come online. 2023-12-22T03:57:40.3444651Z Job is about to start running on the hosted runner: GitHub Actions 5 (hosted) 2023-12-22T03:57:42.3286533Z Current runner version: '2.311.0' 2023-12-22T03:57:42.3311817Z ##[group]Operating System 2023-12-22T03:57:42.3313011Z Ubuntu 2023-12-22T03:57:42.3313868Z 22.04.3 2023-12-22T03:57:42.3314670Z LTS 2023-12-22T03:57:42.3315474Z ##[endgroup] 2023-12-22T03:57:42.3316287Z ##[group]Runner Image 2023-12-22T03:57:42.3317213Z Image: ubuntu-22.04 2023-12-22T03:57:42.3318105Z Version: 20231217.2.0 2023-12-22T03:57:42.3319670Z Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20231217.2/images/ubuntu/Ubuntu2204-Readme.md 2023-12-22T03:57:42.3321876Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20231217.2 2023-12-22T03:57:42.3323286Z ##[endgroup] 2023-12-22T03:57:42.3324255Z ##[group]Runner Image Provisioner 2023-12-22T03:57:42.3325204Z 2.0.321.1 2023-12-22T03:57:42.3326001Z ##[endgroup] 2023-12-22T03:57:42.3327799Z ##[group]GITHUB_TOKEN Permissions 2023-12-22T03:57:42.3329984Z Contents: read 2023-12-22T03:57:42.3330808Z Metadata: read 2023-12-22T03:57:42.3331859Z Packages: read 2023-12-22T03:57:42.3332905Z ##[endgroup] 2023-12-22T03:57:42.3336328Z Secret source: Actions 2023-12-22T03:57:42.3337821Z Prepare workflow directory 2023-12-22T03:57:42.3977337Z Prepare all required actions 2023-12-22T03:57:42.4132937Z Getting action download info 2023-12-22T03:57:42.6174471Z Download action repository 'actions/checkout@v4' (SHA:b4ffde65f46336ab88eb53be808477a3936bae11) 2023-12-22T03:57:42.7537536Z Download action repository 'actions/cache@v3' (SHA:704facf57e6136b1bc63b828d79edcd491f0ee84) 2023-12-22T03:57:42.8502523Z Download action repository 'jlumbroso/free-disk-space@v1.3.1' (SHA:54081f138730dfa15788a46383842cd2f914a1be) 2023-12-22T03:57:43.1396397Z Download action repository 'game-ci/unity-builder@v4' (SHA:ff23166e3002a9f3f869621650dc992e657e17ce) 2023-12-22T03:57:43.8371465Z Download action repository 'actions/upload-artifact@v3' (SHA:a8a3f3ad30e3422c9c7b888a15615d19a852ae32) 2023-12-22T03:57:44.0093887Z Complete job name: Build for StandaloneOSX 2023-12-22T03:57:44.1069795Z ##[group]Run actions/checkout@v4 2023-12-22T03:57:44.1070824Z with: 2023-12-22T03:57:44.1071590Z fetch-depth: 0 2023-12-22T03:57:44.1072446Z lfs: true 2023-12-22T03:57:44.1073246Z repository: DakotaIrsik/NeonLadder 2023-12-22T03:57:44.1074377Z token: *** 2023-12-22T03:57:44.1075198Z ssh-strict: true 2023-12-22T03:57:44.1076064Z persist-credentials: true 2023-12-22T03:57:44.1076905Z clean: true 2023-12-22T03:57:44.1077713Z sparse-checkout-cone-mode: true 2023-12-22T03:57:44.1078572Z fetch-tags: false 2023-12-22T03:57:44.1079336Z show-progress: true 2023-12-22T03:57:44.1080183Z submodules: false 2023-12-22T03:57:44.1081064Z set-safe-directory: true 2023-12-22T03:57:44.1081894Z ##[endgroup] 2023-12-22T03:57:44.3138941Z Syncing repository: DakotaIrsik/NeonLadder 2023-12-22T03:57:44.3143329Z ##[group]Getting Git version info 2023-12-22T03:57:44.3145464Z Working directory is '/home/runner/work/NeonLadder/NeonLadder' 2023-12-22T03:57:44.3150295Z [command]/usr/bin/git version 2023-12-22T03:57:44.3183382Z git version 2.43.0 2023-12-22T03:57:44.3222422Z [command]/usr/bin/git lfs version 2023-12-22T03:57:44.3731312Z git-lfs/3.4.1 (GitHub; linux amd64; go 1.21.1) 2023-12-22T03:57:44.3747146Z ##[endgroup] 2023-12-22T03:57:44.3807074Z Temporarily overriding HOME='/home/runner/work/_temp/4f153765-88cd-45c8-b806-89daa14026a8' before making global git config changes 2023-12-22T03:57:44.3809797Z Adding repository directory to the temporary git global config as a safe directory 2023-12-22T03:57:44.3812077Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/NeonLadder/NeonLadder 2023-12-22T03:57:44.3847115Z Deleting the contents of '/home/runner/work/NeonLadder/NeonLadder' 2023-12-22T03:57:44.3854568Z ##[group]Initializing the repository 2023-12-22T03:57:44.3858002Z [command]/usr/bin/git init /home/runner/work/NeonLadder/NeonLadder 2023-12-22T03:57:44.3943446Z hint: Using 'master' as the name for the initial branch. This default branch name 2023-12-22T03:57:44.3946200Z hint: is subject to change. To configure the initial branch name to use in all 2023-12-22T03:57:44.3948219Z hint: of your new repositories, which will suppress this warning, call: 2023-12-22T03:57:44.3950502Z hint: 2023-12-22T03:57:44.3951849Z hint: git config --global init.defaultBranch 2023-12-22T03:57:44.3952877Z hint: 2023-12-22T03:57:44.3954961Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and 2023-12-22T03:57:44.3957386Z hint: 'development'. The just-created branch can be renamed via this command: 2023-12-22T03:57:44.3959321Z hint: 2023-12-22T03:57:44.3960882Z hint: git branch -m 2023-12-22T03:57:44.3962776Z Initialized empty Git repository in /home/runner/work/NeonLadder/NeonLadder/.git/ 2023-12-22T03:57:44.3967000Z [command]/usr/bin/git remote add origin https://github.com/DakotaIrsik/NeonLadder 2023-12-22T03:57:44.4005568Z ##[endgroup] 2023-12-22T03:57:44.4007943Z ##[group]Disabling automatic garbage collection 2023-12-22T03:57:44.4009907Z [command]/usr/bin/git config --local gc.auto 0 2023-12-22T03:57:44.4037655Z ##[endgroup] 2023-12-22T03:57:44.4039894Z ##[group]Setting up auth 2023-12-22T03:57:44.4044034Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand 2023-12-22T03:57:44.4074755Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :" 2023-12-22T03:57:44.4344636Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader 2023-12-22T03:57:44.4373448Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :" 2023-12-22T03:57:44.4603235Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic *** 2023-12-22T03:57:44.4670074Z ##[endgroup] 2023-12-22T03:57:44.4674213Z [command]/usr/bin/git lfs install --local 2023-12-22T03:57:44.5040541Z Updated Git hooks. 2023-12-22T03:57:44.5041767Z Git LFS initialized. 2023-12-22T03:57:44.5071348Z ##[group]Fetching the repository 2023-12-22T03:57:44.5078986Z [command]/usr/bin/git -c protocol.version=2 fetch --prune --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/* +refs/tags/*:refs/tags/* 2023-12-22T03:57:56.8673331Z From https://github.com/DakotaIrsik/NeonLadder 2023-12-22T03:57:56.8675658Z * [new branch] main -> origin/main 2023-12-22T03:57:56.8707341Z [command]/usr/bin/git branch --list --remote origin/main 2023-12-22T03:57:56.8731901Z origin/main 2023-12-22T03:57:56.8741133Z [command]/usr/bin/git rev-parse refs/remotes/origin/main 2023-12-22T03:57:56.8761533Z 83392cf4a6e40bb13d10483634da68d009b631d9 2023-12-22T03:57:56.8768662Z ##[endgroup] 2023-12-22T03:57:56.8770874Z ##[group]Determining the checkout info 2023-12-22T03:57:56.8773283Z ##[endgroup] 2023-12-22T03:57:56.8775354Z ##[group]Fetching LFS objects 2023-12-22T03:57:56.8777256Z [command]/usr/bin/git lfs fetch origin refs/remotes/origin/main 2023-12-22T03:57:56.8971985Z fetch: Fetching reference refs/remotes/origin/main 2023-12-22T03:57:56.9301303Z ##[endgroup] 2023-12-22T03:57:56.9302676Z ##[group]Checking out the ref 2023-12-22T03:57:56.9304783Z [command]/usr/bin/git checkout --progress --force -B main refs/remotes/origin/main 2023-12-22T03:57:57.1568907Z Switched to a new branch 'main' 2023-12-22T03:57:57.1570693Z branch 'main' set up to track 'origin/main'. 2023-12-22T03:57:57.1836685Z ##[endgroup] 2023-12-22T03:57:57.1868735Z [command]/usr/bin/git log -1 --format='%H' 2023-12-22T03:57:57.1892975Z '83392cf4a6e40bb13d10483634da68d009b631d9' 2023-12-22T03:57:57.2267520Z ##[group]Run actions/cache@v3 2023-12-22T03:57:57.2268433Z with: 2023-12-22T03:57:57.2269276Z path: Library 2023-12-22T03:57:57.2270039Z key: Library-StandaloneOSX 2023-12-22T03:57:57.2270889Z restore-keys: Library- 2023-12-22T03:57:57.2271738Z enableCrossOsArchive: false 2023-12-22T03:57:57.2272883Z fail-on-cache-miss: false 2023-12-22T03:57:57.2273720Z lookup-only: false 2023-12-22T03:57:57.2274502Z ##[endgroup] 2023-12-22T03:57:57.5408759Z Cache not found for input keys: Library-StandaloneOSX, Library- 2023-12-22T03:57:57.5683266Z ##[group]Run game-ci/unity-builder@v4 2023-12-22T03:57:57.5684220Z with: 2023-12-22T03:57:57.5685020Z targetPlatform: StandaloneOSX 2023-12-22T03:57:57.5685887Z unityVersion: auto 2023-12-22T03:57:57.5686690Z versioning: Semantic 2023-12-22T03:57:57.5687529Z androidExportType: androidPackage 2023-12-22T03:57:57.5688425Z androidSymbolType: none 2023-12-22T03:57:57.5689182Z runAsHostUser: false 2023-12-22T03:57:57.5689991Z dockerIsolationMode: default 2023-12-22T03:57:57.5690897Z containerRegistryRepository: unityci/editor 2023-12-22T03:57:57.5691806Z containerRegistryImageVersion: 3 2023-12-22T03:57:57.5692694Z awsStackName: game-ci 2023-12-22T03:57:57.5693512Z providerStrategy: local 2023-12-22T03:57:57.5694321Z kubeVolumeSize: 5Gi 2023-12-22T03:57:57.5695062Z watchToEnd: true 2023-12-22T03:57:57.5695887Z cacheUnityInstallationOnMac: false 2023-12-22T03:57:57.5696820Z dockerWorkspacePath: /github/workspace 2023-12-22T03:57:57.5697909Z env: 2023-12-22T03:57:57.5709217Z UNITY_LICENSE: *** 2023-12-22T03:57:57.5710540Z ##[endgroup] 2023-12-22T03:57:58.5300381Z ##[warning] Library folder does not exist. Consider setting up caching to speed up your workflow, if this is not your first build. 2023-12-22T03:57:58.5311635Z (node:1893) NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023. 2023-12-22T03:57:58.5313213Z 2023-12-22T03:57:58.5314051Z Please migrate your code to use AWS SDK for JavaScript (v3). 2023-12-22T03:57:58.5315965Z For more information, check the migration guide at https://a.co/7PzMCcy 2023-12-22T03:57:58.5318131Z (Use `node --trace-warnings ...` to show where the warning was created) 2023-12-22T03:57:58.7765331Z [command]/usr/bin/sh 2023-12-22T03:57:58.7828546Z 0 2023-12-22T03:57:58.7838347Z 0 2023-12-22T03:57:58.7838944Z 2023-12-22T03:57:58.7898463Z Generated version 0.0.27 (no version tags found). 2023-12-22T03:57:58.7900935Z Using android versionCode 27 2023-12-22T03:57:58.7933904Z Building locally 2023-12-22T03:57:58.7981629Z [command]/usr/bin/docker run --workdir /github/workspace --rm --env UNITY_SERIAL=*** --env UNITY_VERSION=2021.3.33f1 --env PROJECT_PATH=. --env BUILD_TARGET=StandaloneOSX --env BUILD_NAME=StandaloneOSX --env BUILD_PATH=build/StandaloneOSX --env BUILD_FILE=StandaloneOSX --env MANUAL_EXIT=false --env VERSION=0.0.27 --env ANDROID_VERSION_CODE=27 --env ANDROID_EXPORT_TYPE=androidPackage --env ANDROID_SYMBOL_TYPE=none --env RUN_AS_HOST_USER=false --env GITHUB_REF=refs/heads/main --env GITHUB_SHA=83392cf4a6e40bb13d10483634da68d009b631d9 --env GITHUB_REPOSITORY=DakotaIrsik/NeonLadder --env GITHUB_ACTOR=DakotaIrsik --env GITHUB_WORKFLOW=Build project --env GITHUB_EVENT_NAME=push --env GITHUB_ACTION=__game-ci_unity-builder --env GITHUB_EVENT_PATH=/home/runner/work/_temp/_github_workflow/event.json --env RUNNER_OS=Linux --env RUNNER_TOOL_CACHE=/opt/hostedtoolcache --env RUNNER_TEMP=/home/runner/work/_temp --env RUNNER_WORKSPACE=/home/runner/work/NeonLadder --env GITHUB_WORKSPACE=/github/workspace --env GIT_CONFIG_EXTENSIONS --volume /home/runner/work/_temp/_github_home:/root:z --volume /home/runner/work/_temp/_github_workflow:/github/workflow:z --volume /home/runner/work/NeonLadder/NeonLadder:/github/workspace:z --volume /home/runner/work/_actions/game-ci/unity-builder/v4/dist/default-build-script:/UnityBuilderAction:z --volume /home/runner/work/_actions/game-ci/unity-builder/v4/dist/platforms/ubuntu/steps:/steps:z --volume /home/runner/work/_actions/game-ci/unity-builder/v4/dist/platforms/ubuntu/entrypoint.sh:/entrypoint.sh:z --volume /home/runner/work/_actions/game-ci/unity-builder/v4/dist/unity-config:/usr/share/unity3d/config/:z --volume /home/runner/work/_actions/game-ci/unity-builder/v4/dist/BlankProject:/BlankProject:z --cpus=4 --memory=15182m unityci/editor:ubuntu-2021.3.33f1-mac-mono-3 /bin/bash -c /entrypoint.sh 2023-12-22T03:57:58.8506752Z Unable to find image 'unityci/editor:ubuntu-2021.3.33f1-mac-mono-3' locally 2023-12-22T03:57:59.3556454Z ubuntu-2021.3.33f1-mac-mono-3: Pulling from unityci/editor 2023-12-22T03:57:59.6312505Z aece8493d397: Pulling fs layer 2023-12-22T03:57:59.6314781Z 6c95c69724ac: Pulling fs layer 2023-12-22T03:57:59.6316232Z 003176c79e7f: Pulling fs layer 2023-12-22T03:57:59.6317477Z df190a31a7f2: Pulling fs layer 2023-12-22T03:57:59.6318365Z 4f4fb700ef54: Pulling fs layer 2023-12-22T03:57:59.6319238Z a3481a166284: Pulling fs layer 2023-12-22T03:57:59.6320104Z 53b15d6b852d: Pulling fs layer 2023-12-22T03:57:59.6321070Z 06c94de13781: Pulling fs layer 2023-12-22T03:57:59.6321911Z 4fad433fde6e: Pulling fs layer 2023-12-22T03:57:59.6322807Z 541b0ef1c61f: Pulling fs layer 2023-12-22T03:57:59.6323676Z 2bb6c0d5f962: Pulling fs layer 2023-12-22T03:57:59.6324526Z 4f4fb700ef54: Waiting 2023-12-22T03:57:59.6325368Z a3481a166284: Waiting 2023-12-22T03:57:59.6326166Z 53b15d6b852d: Waiting 2023-12-22T03:57:59.6327011Z b07cfabe9e70: Pulling fs layer 2023-12-22T03:57:59.6327868Z 06c94de13781: Waiting 2023-12-22T03:57:59.6328675Z 4fad433fde6e: Waiting 2023-12-22T03:57:59.6329411Z 541b0ef1c61f: Waiting 2023-12-22T03:57:59.6330208Z 2bb6c0d5f962: Waiting 2023-12-22T03:57:59.6330998Z df190a31a7f2: Waiting 2023-12-22T03:57:59.6331786Z b07cfabe9e70: Waiting 2023-12-22T03:57:59.7582774Z 6c95c69724ac: Download complete 2023-12-22T03:57:59.9550621Z aece8493d397: Verifying Checksum 2023-12-22T03:57:59.9552492Z aece8493d397: Download complete 2023-12-22T03:58:00.0480100Z df190a31a7f2: Download complete 2023-12-22T03:58:00.0690467Z 4f4fb700ef54: Verifying Checksum 2023-12-22T03:58:00.0696053Z 4f4fb700ef54: Download complete 2023-12-22T03:58:00.1805047Z 53b15d6b852d: Verifying Checksum 2023-12-22T03:58:00.1806934Z 53b15d6b852d: Download complete 2023-12-22T03:58:00.1856281Z a3481a166284: Download complete 2023-12-22T03:58:00.2859061Z 06c94de13781: Verifying Checksum 2023-12-22T03:58:00.2860593Z 06c94de13781: Download complete 2023-12-22T03:58:00.4291899Z 541b0ef1c61f: Verifying Checksum 2023-12-22T03:58:00.4296662Z 541b0ef1c61f: Download complete 2023-12-22T03:58:00.4589928Z 003176c79e7f: Verifying Checksum 2023-12-22T03:58:00.4591378Z 003176c79e7f: Download complete 2023-12-22T03:58:00.6896185Z 2bb6c0d5f962: Download complete 2023-12-22T03:58:00.8076704Z b07cfabe9e70: Verifying Checksum 2023-12-22T03:58:00.8078304Z b07cfabe9e70: Download complete 2023-12-22T03:58:01.1310467Z aece8493d397: Pull complete 2023-12-22T03:58:01.3116093Z 6c95c69724ac: Pull complete 2023-12-22T03:58:06.3981366Z 003176c79e7f: Pull complete 2023-12-22T03:58:07.4965049Z df190a31a7f2: Pull complete 2023-12-22T03:58:07.6016038Z 4f4fb700ef54: Pull complete 2023-12-22T03:58:07.6630022Z a3481a166284: Pull complete 2023-12-22T03:58:07.6714340Z 53b15d6b852d: Pull complete 2023-12-22T03:58:07.6849511Z 06c94de13781: Pull complete 2023-12-22T03:58:50.2782806Z 4fad433fde6e: Verifying Checksum 2023-12-22T03:58:50.2784656Z 4fad433fde6e: Download complete 2023-12-22T03:59:48.9504865Z 4fad433fde6e: Pull complete 2023-12-22T03:59:48.9608456Z 541b0ef1c61f: Pull complete 2023-12-22T03:59:48.9761187Z 2bb6c0d5f962: Pull complete 2023-12-22T03:59:49.1436310Z b07cfabe9e70: Pull complete 2023-12-22T03:59:49.1589166Z Digest: sha256:21861abb63af2498accebe1a6de2adf60a1376b5b079204e7f6cc0cb61e16fb5 2023-12-22T03:59:49.1603850Z Status: Downloaded newer image for unityci/editor:ubuntu-2021.3.33f1-mac-mono-3 2023-12-22T03:59:49.4019848Z Randomizing machine ID for personal license activation 2023-12-22T03:59:49.4068917Z Not updating Android SDK. 2023-12-22T03:59:49.4072125Z Running as root 2023-12-22T03:59:49.4073106Z GIT_CONFIG_EXTENSIONS unset skipping 2023-12-22T03:59:49.4074758Z ---------- git config --list ------------- 2023-12-22T03:59:49.4086529Z filter.lfs.process=git-lfs filter-process 2023-12-22T03:59:49.4087672Z filter.lfs.required=true 2023-12-22T03:59:49.4088768Z filter.lfs.clean=git-lfs clean -- %f 2023-12-22T03:59:49.4091720Z filter.lfs.smudge=git-lfs smudge -- %f 2023-12-22T03:59:49.4095301Z ---------- git config --list --show-origin ------------- 2023-12-22T03:59:49.4105403Z file:/etc/gitconfig filter.lfs.process=git-lfs filter-process 2023-12-22T03:59:49.4106585Z file:/etc/gitconfig filter.lfs.required=true 2023-12-22T03:59:49.4108013Z file:/etc/gitconfig filter.lfs.clean=git-lfs clean -- %f 2023-12-22T03:59:49.4109591Z file:/etc/gitconfig filter.lfs.smudge=git-lfs smudge -- %f 2023-12-22T03:59:49.4111658Z GIT_PRIVATE_TOKEN unset skipping 2023-12-22T03:59:49.4112904Z ---------- git config --list ------------- 2023-12-22T03:59:49.4123120Z filter.lfs.process=git-lfs filter-process 2023-12-22T03:59:49.4124239Z filter.lfs.required=true 2023-12-22T03:59:49.4125323Z filter.lfs.clean=git-lfs clean -- %f 2023-12-22T03:59:49.4126981Z filter.lfs.smudge=git-lfs smudge -- %f 2023-12-22T03:59:49.4128491Z ---------- git config --list --show-origin ------------- 2023-12-22T03:59:49.4141689Z file:/etc/gitconfig filter.lfs.process=git-lfs filter-process 2023-12-22T03:59:49.4142952Z file:/etc/gitconfig filter.lfs.required=true 2023-12-22T03:59:49.4143781Z file:/etc/gitconfig filter.lfs.clean=git-lfs clean -- %f 2023-12-22T03:59:49.4145848Z file:/etc/gitconfig filter.lfs.smudge=git-lfs smudge -- %f 2023-12-22T03:59:49.4148528Z License activation strategy could not be determined. 2023-12-22T03:59:49.4149345Z 2023-12-22T03:59:49.4149902Z Visit https://game.ci/docs/github/activation for more 2023-12-22T03:59:49.4151373Z details on how to set up one of the possible activation strategies. 2023-12-22T03:59:49.4161183Z ##[error]No valid license activation strategy could be determined. Make sure to provide UNITY_EMAIL, UNITY_PASSWORD, and either a UNITY_SERIAL or UNITY_LICENSE. Otherwise please use UNITY_LICENSING_SERVER. See more info at https://game.ci/docs/github/activation 2023-12-22T03:59:49.5428877Z ##[error]Build failed with exit code 1 2023-12-22T03:59:49.5699060Z Post job cleanup. 2023-12-22T03:59:49.6421436Z [command]/usr/bin/git version 2023-12-22T03:59:49.6460586Z git version 2.43.0 2023-12-22T03:59:49.6502406Z Temporarily overriding HOME='/home/runner/work/_temp/afa0a865-96a5-4a67-bf50-8809e7eb9dba' before making global git config changes 2023-12-22T03:59:49.6504777Z Adding repository directory to the temporary git global config as a safe directory 2023-12-22T03:59:49.6508997Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/NeonLadder/NeonLadder 2023-12-22T03:59:49.6542710Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand 2023-12-22T03:59:49.6574424Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :" 2023-12-22T03:59:49.6821504Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader 2023-12-22T03:59:49.6839345Z http.https://github.com/.extraheader 2023-12-22T03:59:49.6850920Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader 2023-12-22T03:59:49.6882158Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :" 2023-12-22T03:59:49.7355312Z Cleaning up orphan processes ```

Relevant error messages are the following:

Visit https://game.ci/docs/github/activation for more
details on how to set up one of the possible activation strategies.
Error: No valid license activation strategy could be determined. Make sure to provide UNITY_EMAIL, UNITY_PASSWORD, and either a UNITY_SERIAL or UNITY_LICENSE. Otherwise please use UNITY_LICENSING_SERVER. See more info at https://game.ci/docs/github/activation
Error: Build failed with exit code 1

The error we are seeing comes from the following script in the builder repository:

https://github.com/game-ci/unity-builder/blob/ff23166e3002a9f3f869621650dc992e657e17ce/dist/platforms/ubuntu/steps/activate.sh#L81

According to the script, you are seing this error message because the shell script did not match the described condition: https://github.com/game-ci/unity-builder/blob/ff23166e3002a9f3f869621650dc992e657e17ce/dist/platforms/ubuntu/steps/activate.sh#L3

AndrewKahr commented 11 months ago

We don't currently support SSO for login, it must use email/password for Unity itself. So if you're trying to use your gmail password that is likely why it doesn't work. See if you can setup your account to be non-SSO for login and make sure to pass those updated credentials through for activation

DakotaIrsik commented 11 months ago

We don't currently support SSO for login, it must use email/password for Unity itself. So if you're trying to use your gmail password that is likely why it doesn't work. See if you can setup your account to be non-SSO for login and make sure to pass those updated credentials through for activation

When I sign out of unity and close all browsers then incognito I am able to sign in with my username and password without clicking the google SSO at the bottom, fwiw.

DakotaIrsik commented 11 months ago

GameCI is built by the community. Unity doesn't officially support GameCI. If you need this urgently, I would recommend having a look at the related activation code in the actions.

From your linked repository, here is a detailed full log Relevant error messages are the following:

Visit https://game.ci/docs/github/activation for more
details on how to set up one of the possible activation strategies.
Error: No valid license activation strategy could be determined. Make sure to provide UNITY_EMAIL, UNITY_PASSWORD, and either a UNITY_SERIAL or UNITY_LICENSE. Otherwise please use UNITY_LICENSING_SERVER. See more info at https://game.ci/docs/github/activation
Error: Build failed with exit code 1

The error we are seeing comes from the following script in the builder repository:

https://github.com/game-ci/unity-builder/blob/ff23166e3002a9f3f869621650dc992e657e17ce/dist/platforms/ubuntu/steps/activate.sh#L81

According to the script, you are seing this error message because the shell script did not match the described condition:

https://github.com/game-ci/unity-builder/blob/ff23166e3002a9f3f869621650dc992e657e17ce/dist/platforms/ubuntu/steps/activate.sh#L3

My thinking is that it's because my license is "technically" classified as a "Trial" haven't looked over the UnityBuilder source code, in which case hopefully support can help. I tried personal (and that combination of repo secrets) and the pro license serial, both with no luck.

AndrewKahr commented 11 months ago

Odd I must've misunderstood the original post when you were talking about SSO then. Were you getting successful activations before using this trial? Did you make sure to update the input from UNITY_LICENSE to UNITY_SERIAL with the serial for pro?

The error you're getting basically is saying the action didn't get either UNITY_SERIAL, UNITY_EMAIL, or UNITY_PASSWORD passed into the action properly, this hasn't even reached Unity yet so they are unlikely to be able to help.

DakotaIrsik commented 11 months ago

Odd I must've misunderstood the original post when you were talking about SSO then. Were you getting successful activations before using this trial? Did you make sure to update the input from UNITY_LICENSE to UNITY_SERIAL with the serial for pro?

The error you're getting basically is saying the action didn't get either UNITY_SERIAL, UNITY_EMAIL, or UNITY_PASSWORD passed into the action properly, this hasn't even reached Unity yet so they are unlikely to be able to help.

Probably part of the problem, when i was previewing the features for Unity Pro I saw DevOps and was reading that it was a requirement. so I technically had a personal license, but had never used the file, when I first tried it was with the serial iirc. Then afterward all sorts of revoking / different combinations.

Only discussed SSO because i'm fairly familiar with identity providers and anticipated it might be a problem, in that vein I signed in to id.unity and there was a "reset password" which i followed, afterward I was then able to sign in to the same acscount using SSO OR my SSO email and newly set PW -> continue following tutorial.

AndrewKahr commented 11 months ago

Can you post your workflow here? The link to your repo is private

DakotaIrsik commented 11 months ago

I am incompetant, and following the mostly "complete" example I left out the reference to the env vars, so obv no matter which combo I tried within the repo secrets it wasn't going to work, not sure if this is TF'ed or in GH somewhere, but i'd suggest a revision here to include the email and password env vars, and a comment

UNITY_SERIAL (If you're a sucker and paying for it) etc.

Thanks for the help and tolerance of my lack of attention to detail, and above all, great work on this repo!!!

image

AndrewKahr commented 11 months ago

@webbertakken @davidmfinol @GabLeRoux Thoughts on just removing that section from the builder docs? My thinking is that section is more of an API reference and people should be using the full workflows from the getting started section. This way we have one less place to update redundant examples and potentially miss stuff like we did here.

DakotaIrsik commented 11 months ago

Just my 2c, i've been doing C# for over a decade (winforms, webforms, silverlight, net core, maui, xamarin), and when I started learning unity, my biggest fear was the ability to deploy to platforms. this greatly helped me realize it wasn't that bad and this "complete example" was nearly copy/pastable. It makes me honestly regret my purchase of unity pro, having briefly looked at their automation build stuff. It works, but so does this. 🤷

davidmfinol commented 11 months ago

I think it's better to keep that section and just update it with the new requirements. It's useful to have an example that shows building for all platforms in parallel. We could move this example to the getting started section, but I don't think it cleanly fits in there. Also, we shouldn't be significantly updating how the builder action works that often, so I wouldn't worry about missing it again in future updates.

webbertakken commented 11 months ago

We could use a react component that's shared across both perhaps? But as David mentioned it might not cleanly fit in the getting started section.