License Issues on new install

Primary issue I’m having is when attempting to build with Android under build settings, I get the message on the right panel “Your licence does not cover Android Publishing”.

I just uninstalled an old version of Unity and installed the latest version with the Unity Hub. I’m using a Personal License and am using Windows 7, no firewalls/AV in play (prior version of Unity (1 year old) worked fine with Android on this machine). During install I selected Android as an add-on. After installation, the Hub is now accessible, I tried creating a new project and received the above issue. I verified I’m logged in, tried log-off, restart, log-on, same issue. Back in Hub, I clicked in the upper right for account options, Manage Licence.

Check For Updates Button: This loads for a few seconds then says “Fail to Write License File”
Activate New License: After choosing my license it says “Failed to reach License Server”
Manual Activation: I went to the site and saved the license, loaded, but then get the message, “Failed to save the License File”

I tried Uninstalling all and re-installing, ensure Android election on install, same issues as above. I tried running with no network for offline options, same issue. I tried running just the Unity.exe file instead of UnityHub.exe, still loads Hub and same issue.

I had a similar experience 3 months ago on a laptop with Windows 10, but executing Unity.exe directly was successful in that case (older version of Hub was noted, and I will not be updating that offline laptop until this issue is resolved).

Any assistance is welcome as I am fully stuck at this point as Android seems off-limits to my use at this time.

Thanks!

Hello DoogleDangWang,

I faced a very similar problem, at least the part with “Failed to Write License File”.

Here is what I did and what worked for me:

  • I deleted (renamed) the file C:\ProgramData\Unity\Unity_lic.ulf
  • I restarted the computer (to make sure nothing “Unity” is running anymore - Hub tends to stay open in background)
  • I went through all license activation again in HUB after it told me that I don’t have an active license
  • Opened up a project in Unity Editor again and now it is properly activated

If that does not work try it again and start the HUB in Admin mode.

Hope that helps/works for you or anybody who may find this :slight_smile:

10 Likes

This exactly worked, thank you very much claus_interactive! All that was necessary was the first part about deleting that license file, but I’ll keep the other options in mind should the issue return…

Thanks man… worked for me

Running the Hub as Admin worked for me.

Dude, I don’t have Unity_lic.ulf. What do I do?

Wow! This was a life-saver! Thankyou!

1 Like

‘unable to save licence’ how to fix ?

1 Like

Same

Same! wtf, unity!? A lot of issues of unable to save licence with latest hub version. Could you check amount of mentions of this problem in internet and do something with that?

1 Like

Wow. tried to get this working for hours, Run as Administrator on Unity Hub worked easy… Thanks!

thx after alot of rerasing you safe my life! good answer <3