/license-robot

Primary LanguageJavaScriptOtherNOASSERTION

UNITY LICENSE ROBOT

automatically activate the Unity personal license.

the core source code is from activate-unity, basically kinds of Github Action.

Getting Started

  1. install Node.js if you don't have it yet.
  2. clone this repository locally
  3. before starting, you need to download the Unity license request file via the Unity Hub. see GET ALF FILE
  4. because Unity Authorizator sometimes requires 2FA, the crawler needs a 2FA token. see GET 2FA TOKEN
  5. create .env file at the root path of this repository
  6. fill in your own unity account email, password, and the 2FA Token.
ID=asdf@email.com
PASSWORD=12345678
2FA_TOKEN=****************
  1. install NPM packages and run the project by Node.js
npm i
node .

GET ALF FILE

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

GET 2FA TOKEN

  1. log in to Unity website
  2. go to My Account's Security tab
  3. 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).
chrome_xhedrIa4sY.mp4