Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

Bug Unity Hub 3.4.1 Cannot Activate Licenses

Discussion in 'Unity Hub' started by pp00112, Jan 5, 2023.

  1. pp00112

    pp00112

    Joined:
    Feb 2, 2014
    Posts:
    4
    Personal license added (Free), but still alert "No active licenses To create and open projects, you need an active license."

    How to fix it?

    upload_2023-1-5_16-52-11.png


    upload_2023-1-5_16-52-41.png

    I try follow this -> https://support.unity.com/hc/en-us/...-manually-activate-my-license-inside-the-hub-

    but not work same.

    (Macbook work, but pc not work (Window 11) same user)




    Code (CSharp):
    1. {"timestamp":"2023-01-05T12:21:02.465Z","level":"warn","moduleName":"LicensingSdkService","message":"[\n  [\n    'A problem occurred while trying to check for entitlements',\n    EntitlementsResponse {\n      messageType: 'ApiErrorResponse',\n      responseCode: 500,\n      responseStatus: 'An unexpected error occurred while processing the request'\n    }\n  ]\n]"}
    2. {"timestamp":"2023-01-05T12:21:02.465Z","level":"error","moduleName":"LicenseService","message":"[\n  \"isLicenseValid: Failed to checkEntitlement for com.unity.editor.ui. Exception: TypeError: Cannot read properties of undefined (reading 'size')\"\n]"}
    3. {"timestamp":"2023-01-05T12:23:41.386Z","level":"info","moduleName":"LicensingSdkService","message":"[ 'Get all entitlement groups' ]"}
    4. {"timestamp":"2023-01-05T12:23:41.401Z","level":"info","moduleName":"LicensingSdkService","message":"[ 'Successfully received all entitlement groups details' ]"}
    5. {"timestamp":"2023-01-05T12:23:41.401Z","level":"info","moduleName":"LicensingSdkService","message":"[ 'Received 1 entitlement groups' ]"}
    6. {"timestamp":"2023-01-05T12:23:41.402Z","level":"info","moduleName":"LicensingSdkService","message":"[ 'checkEntitlements: checking entitlements for: com.unity.editor.ui' ]"}
    7. {"timestamp":"2023-01-05T12:23:41.414Z","level":"warn","moduleName":"LicensingSdkService","message":"[\n  [\n    'A problem occurred while trying to check for entitlements',\n    EntitlementsResponse {\n      messageType: 'ApiErrorResponse',\n      responseCode: 500,\n      responseStatus: 'An unexpected error occurred while processing the request'\n    }\n  ]\n]"}
    8. {"timestamp":"2023-01-05T12:23:41.415Z","level":"error","moduleName":"LicenseService","message":"[\n  \"isLicenseValid: Failed to checkEntitlement for com.unity.editor.ui. Exception: TypeError: Cannot read properties of undefined (reading 'size')\"\n]"}
    {"timestamp":"2023-01-05T12:21:02.465Z","level":"warn","moduleName":"LicensingSdkService","message":"[\n [\n 'A problem occurred while trying to check for entitlements',\n EntitlementsResponse {\n messageType: 'ApiErrorResponse',\n responseCode: 500,\n responseStatus: 'An unexpected error occurred while processing the request'\n }\n ]\n]"}
    {"timestamp":"2023-01-05T12:21:02.465Z","level":"error","moduleName":"LicenseService","message":"[\n \"isLicenseValid: Failed to checkEntitlement for com.unity.editor.ui. Exception: TypeError: Cannot read properties of undefined (reading 'size')\"\n]"}
    {"timestamp":"2023-01-05T12:23:41.386Z","level":"info","moduleName":"LicensingSdkService","message":"[ 'Get all entitlement groups' ]"}
    {"timestamp":"2023-01-05T12:23:41.401Z","level":"info","moduleName":"LicensingSdkService","message":"[ 'Successfully received all entitlement groups details' ]"}
    {"timestamp":"2023-01-05T12:23:41.401Z","level":"info","moduleName":"LicensingSdkService","message":"[ 'Received 1 entitlement groups' ]"}
    {"timestamp":"2023-01-05T12:23:41.402Z","level":"info","moduleName":"LicensingSdkService","message":"[ 'checkEntitlements: checking entitlements for: com.unity.editor.ui' ]"}
    {"timestamp":"2023-01-05T12:23:41.414Z","level":"warn","moduleName":"LicensingSdkService","message":"[\n [\n 'A problem occurred while trying to check for entitlements',\n EntitlementsResponse {\n messageType: 'ApiErrorResponse',\n responseCode: 500,\n responseStatus: 'An unexpected error occurred while processing the request'\n }\n ]\n]"}
    {"timestamp":"2023-01-05T12:23:41.415Z","level":"error","moduleName":"LicenseService","message":"[\n \"isLicenseValid: Failed to checkEntitlement for com.unity.editor.ui. Exception: TypeError: Cannot read properties of undefined (reading 'size')\"\n]"}
     
    Last edited: Jan 5, 2023
  2. Michelangelos

    Michelangelos

    Joined:
    Aug 17, 2016
    Posts:
    9
    Please report a bug from the Unity Hub tool as many other users are having the exact same issue.
    I'm trying to fix this since a lot of Unity Hub 3.x versions and the only way that worked was to go back to Unity Hub 2.x versions and this is still not a full solution because the new EDITOR versions doesn't seem to recognize the license neither, I can only open old projects on Unity Hub 2.x so please report a bug.
    On Unity Hub click on your account > Troubleshooting > Report a Bug
     
    pp00112 likes this.
  3. pp00112

    pp00112

    Joined:
    Feb 2, 2014
    Posts:
    4
    Now i can fix it by deleting all the unity hub related files in this following folder (Case window 11) -> Users -> {UserName} -> AppData
    Local
    LocalLow
    Roaming

    Delete all folders references with the old project.
    Then delete the hub and reinstall it, then I can activate the license.
     
    Jingjoman, Tanats and Chavalparit like this.
  4. FiveFans

    FiveFans

    Joined:
    Oct 21, 2015
    Posts:
    10
    We are having the same issue. Hub version 3.4.1. Our development has come to a STOP! Thanks Unity! How can we downgrade to Unity Hub 2.x?? Please help. Thank you.
     
    lsheppler likes this.
  5. ALEXWARELLC

    ALEXWARELLC

    Joined:
    Dec 4, 2022
    Posts:
    40
    Try this:

    1. Uninstall Unity Hub
    2. Get and Install older Unity Hub Installer
    3. Before Starting, Go to
      Unity Hub Install location / resources
      and delete .yml file.
    4. Start Unity Hub.
    https://web.archive.org/web/2019080....cloud.unity3d.com/hub/prod/UnityHubSetup.exe
     
  6. FiveFans

    FiveFans

    Joined:
    Oct 21, 2015
    Posts:
    10
    Thank you very much. We were able to find an older version of Unity Hub that worked fine and got us back in business. The thing is, Unity Hub automatically updates itself to the new version whenever we restart it. Such a pain. Do NOT update unless I approve it or ask for automatic updates. I fear Unity has lost its way.
     
    lsheppler likes this.
  7. CaptnCra

    CaptnCra

    Joined:
    Nov 18, 2022
    Posts:
    11
    If you're behind a proxy server that inspects traffic you'll have to enable an environment variable. Not ideal and I'm looking for other options but its documented here. Unity Hub not working with Browser Login [Please Help] - Unity Forum

    Regarding 3.3.0 you can stop it from auto-updating though I would say keep an eye on versions.
    Locate the app-update.yml file in the Unity Hub\resources directory
    Edit this line
    url: https://public-cdn.cloud.unity3d.com/hub/prod
    to
    url: https://public-cdn.cloud.unity3d.com/hub/prod/noupdateforme

    Effectively you're pointing the repo to a non functioning path and it won't give a peep about updates.
     
  8. Telestrator

    Telestrator

    Joined:
    Aug 21, 2018
    Posts:
    10
    Having the same issue here, reverted to UnityHub 2.0.4, but still stuck on same error. This happened after upgrading Unity from 2019 to 2022.
     
  9. Chavalparit

    Chavalparit

    Joined:
    Apr 17, 2020
    Posts:
    1
    This is the most straight forward method and actually works. Thanks
     
    DrMeatball likes this.
  10. unity_39001

    unity_39001

    Joined:
    May 25, 2023
    Posts:
    1
    i can't find AppData but i tried delete everythink but nothink happend
     
  11. MacsAre1

    MacsAre1

    Joined:
    Sep 1, 2020
    Posts:
    1
    I have the same issue on my new Mac after transferring Unity over via Migration Assistant. Also downloaded and reinstalled from there but made no difference. Dug around my user Library and deleted anything I could find related to Unity there and in Application Support and Preferences... still not fixed. Tried the sign out and sign back in shown in this other thread and still no luck. Going to see if I can dig up and old version of the hub to activate.
     
  12. ALEXWARELLC

    ALEXWARELLC

    Joined:
    Dec 4, 2022
    Posts:
    40
    I posted the link to a 2.X version from archive.org in an earlier post.
     
  13. bankjaiDee

    bankjaiDee

    Joined:
    Aug 27, 2013
    Posts:
    1
    It works. Thanks
     
  14. waritsiasakul

    waritsiasakul

    Joined:
    Feb 1, 2022
    Posts:
    1
    Thanks to this post, the most helpful solution for me
    Its second time, happen again after Hub auto-updated.
     
  15. shivaztm

    shivaztm

    Joined:
    Oct 12, 2023
    Posts:
    1
    i cant active free personal license
     
    MSA_UNITY2023 likes this.
  16. Agentv33em

    Agentv33em

    Joined:
    Oct 13, 2023
    Posts:
    1
    I also appear to be having this issue on Unity Hub 3.4.1(linux.)
     
    Last edited: Oct 13, 2023
  17. DrMeatball

    DrMeatball

    Joined:
    Nov 21, 2021
    Posts:
    116
    Just reformat the computer for about the dozenth time in the last 2 weeks because of Windows 11 .Net breaking Unity and got this...

    FWIW I've had a license since 2015.

    Oct 16, 2023 8amEST ish


    Screenshot 2023-10-16 083325.png
     
  18. DrMeatball

    DrMeatball

    Joined:
    Nov 21, 2021
    Posts:
    116
    Not sure what happened but this fixed it - TY!! I was about to pull my hair out for the 13th time.
     
  19. AvtsVivek

    AvtsVivek

    Joined:
    Jan 7, 2024
    Posts:
    1
    Last edited: Jan 10, 2024
  20. felipec_unity

    felipec_unity

    Unity Technologies

    Joined:
    Sep 3, 2020
    Posts:
    30
    @AvtsVivek did you contact Unity Support like the messages suggest?