automatically activate the Unity personal license.
the core source code is from activate-unity, basically kinds of Github Action.
- install Node.js if you don't have it yet.
- clone this repository locally
- before starting, you need to download the Unity license request file via the Unity Hub. see GET ALF FILE
- because Unity Authorizator sometimes requires 2FA, the crawler needs a 2FA token. see GET 2FA TOKEN
- create
.env
file at the root path of this repository - fill in your own unity account email, password, and the 2FA Token.
ID=asdf@email.com
PASSWORD=12345678
2FA_TOKEN=****************
- install NPM packages and run the project by Node.js
npm i
node .
Get the steps in the below video and save the downloaded .alf
file at the root path of this repository.
you can't get steps 2 and 3 in How to activate an existing license dialog. because Unity disables activating personal license manually.
Unity_Hub_piR5OMc3BJ.mp4
- log in to Unity website
- go to My Account's Security tab
- get the steps as in the below video and click Can't scan the barcode? and get the token (remove whitespaces in it - ASDF FDSA ASDF FDSA -> ASDFFDSAASDFFDSA).