Unity crashes on play due to License

Hello,

Since I updated my Unity to 2019.4.81f, Unity freezes when I play the game on editor and even when I make little changes on prefabs, scripts etc. I checked the editor log and it’s full of this:

[Licensing::Module] License is not active (com.unity.editor.ui). HasEntitlements will fail.
[LicensingClient] ERROR Failed to send request while resolving entitlements

I downgraded my Unity Hub, checked my license which is valid, but this still happens. I’d really appreciate if anyone shows me the way out.

Thanks in advance

Hey, I asked our licensing team to chime in and help troubleshoot this. This shouldn’t be happening.

1 Like

Hi,

Would it be possible that you provide logs files:

  • Editor.log file (which I assume you know where to find it)
  • Unity.Licensing.Client.log file. %LOCALAPPDATA%\Unity\Unity.Licensing.Client.log

Before doing that please close all the Unity applications, Editor and HUB (even from the taskbar)
And then start opening HUB and then your project and then collect your logs please.

1 Like

Hello!

I did as you said, here are the files.

Thank you for quick reply!

6215846–683414–Editor Log.txt (14.9 KB)
6215846–683417–Licensing Log.txt (1.08 MB)

Hmm, what I noticed is that after closing and opening the project, editor log is cleaned and there is no error.

After every crash I force quit the app and launch again, it works normal for a while. However, it repeats after I spend some time and work on the project and I don’t to anything particular that may cause this.

EDIT: It crashed again and I’m sending the new Editor Log

6215864–683423–Editor Log 2.txt (125 KB)

Hi Again,

Thanks for providing the log files.
Out of curiosity, Do you connect to a VPN? This is one of the most probable reasons that MAC address changes.

In your client log file there are some logs showing that MAC address is not valid.

2020-08-17 22:06:30.521 - WARN  - Unity.Licensing.EntitlementResolver.ContextBoundDataExtensions || The following fields of your context don't match:
    Legacy.MachineBinding5: License value (54:e1:ad:16:c6:b5) != Current context (c8:3d:d4:a8:9e:71)

Also I see a crash in the log file! I will take a look at it.

Heya,

No I’m not using VPN

Thanks for your help! It’s really frustrating

this thread is forgotten! :frowning:

i have this problem too. well still no solution i guess…

I found a temporary solution by going task manager → unity project → killing “unity.licensing.client” thing and there will be a pop-up from unity, just close it from X.

I have to do this like 999 times a day

Hi

I am glad that you could at least find a workaround.

Sorry for this inconvenience, we found a bug where Editor and Client lose their connection, in certain cases connection reestablishment fails. The fix is coming to 2020.1 version first and then to 2019LTS version.

On the other hand until the fix is put in place, it would be great if you could find a main reason behind the reason why Editor and Client loose their connection on your machine. Knowing the exact reason also help us make Unity more robust.

Best regards,
Amir

I’m really tired of it, I have deadlines and this crash is really frustrating and time consuming. I did everything on my end to check the connection or if there’s something that affects this connection loss. I didn’t have this kind of problem on previous versions at all and nothing has changed on my computer since then.

I also have this problem in 2019.4.9f1

Unity.Licensing.Client.log tells me the MAC address is different

If I disable the “vEthernet (Default Switch)” adapter in the Network Adapters (Windows) for some reason it it starts working

But everything else in the system works great with this adapter except Unity and the adapter is part of HyperV which I need for other applications.

1 Like

Three days is hardly forgotten.

GUYS! I reported bug through Unity and they responded quickly, I did the first step in this link and had no problems since then!