License activation strategy could not be determined.
See original GitHub issueHi there,
I just tried to build my demo project with GIthub Action but it Could not build well
In order to build with GIthub action, I did like steps with document guid lines
- I did set up some select values on GIthub Serect tap
- UNITY_SERIAL
- UNITY_PASSWORD
- UNITY_EMAIL
2.I wrote the yml file like this.
name: Actions 😎
on:
pull_request: {}
push: { branches: [main] }
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
jobs:
readmeWorkflow:
name: Readme Workflow ✨
runs-on: ubuntu-latest
steps:
# Checkout
- name: Checkout repository
uses: actions/checkout@v2
# Build
- name: Build project
uses: webbertakken/unity-builder@v0.10
with:
projectPath: UnityActionTest
unityVersion: 2019.4.0f1
targetPlatform: Android
# Output
- uses: actions/upload-artifact@v1
with:
name: Build
path: build
If the build fails, it comes out like this at the end,
Is there anything I am missing?
`Removing intermediate container e6e0f6630c87
---> adefeb296928
Successfully built adefeb296928
Successfully tagged unity-builder:2019.4.0f1-android
/usr/bin/docker run --workdir /github/workspace --rm --env UNITY_LICENSE --env UNITY_EMAIL --env UNITY_PASSWORD --env UNITY_SERIAL --env UNITY_VERSION=2019.4.0f1 --env PROJECT_PATH=UnityActionTest --env BUILD_TARGET=Android --env BUILD_NAME=Android --env BUILD_PATH=build/Android --env BUILD_FILE=Android.apk --env BUILD_METHOD= --env CUSTOM_PARAMETERS= --env HOME=/github/home --env GITHUB_REF --env GITHUB_SHA --env GITHUB_REPOSITORY --env GITHUB_ACTOR --env GITHUB_WORKFLOW --env GITHUB_HEAD_REF --env GITHUB_BASE_REF --env GITHUB_EVENT_NAME --env GITHUB_WORKSPACE=/github/workspace --env GITHUB_ACTION --env GITHUB_EVENT_PATH --env RUNNER_OS --env RUNNER_TOOL_CACHE --env RUNNER_TEMP --env RUNNER_WORKSPACE --volume /var/run/docker.sock:/var/run/docker.sock --volume /home/runner/work/_temp/_github_home:/github/home --volume /home/runner/work/_temp/_github_workflow:/github/workflow --volume /home/runner/work/UnityActionTest/UnityActionTest:/github/workspace unity-builder:2019.4.0f1-android
License activation strategy could not be determined.
Visit https://github.com/webbertakken/unity-builder#usage for more
details on how to set up one of the possible activation strategies.
Error: The process '/usr/bin/docker' failed with exit code 1
0s
`
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Unity Hub Won't Open - License + Machine Id Error
Install win 10, cannot activate license, cannot open project(manual activation). Invalid license it write me, or something like that.
Read more >Getting our License. Setting up Continuous Integration with…
These are going to contain our workflows for creating a request for activation of a Unity license and for our main CI/CD workflow....
Read more >KB35990: "License Manager failed to generate the activation ...
License Manager failed to generate the activation file because the permission is denied. Click OK, the window of License Manager disappears.
Read more >Offline (manual) license activation - Unity - Manual
If Unity can't contact the license server, you can't activate your license using the online method. Typical reasons for failing to connect to...
Read more >Builder - GameCI
GameCI does not acquire nor store your Unity email or password. ... Personal licenses require a one-time manual activation step.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks kindly reply, Happy Christmas
This is because you’re running an outdated version of builder. The old images don’t support Android builds any longer (which was the reason to create and move to the new images)