Unity editor slow to start

When I am connected to my company network, Unity is very slow to start (around 1 min). After starting the log shows the error:

LookupAccountName() failed. Error 1788

When I am not connected to the network Unity start very quickly (~1 second) and I get a different error:

LookupAccountName() failed. Error 1789

How can I fix it?

Try to uninstall, re-install and sign in again.

Let me start by saying this issue is not related to Unity. If you are interested in details read the long message below or for the solution read the last bold line itself.

If you are using Windows 7 or Windows Server 2008 and you are on a Company network, Unity is trying to perform an Account Lookup for your account which isn’t successful so you are getting the LookupAccountName() failed error.

In first scenario the system has connectivity available but your primary domain is unable to receive a positive authentication and SID (security identifier) from your trusted domain hence you are getting the error code 1788, which is failure to establish a trust relationship between the primary domain and the trusted domain. Since the communication is taking between two other domains (not with your system), it is taking time for which Unity has to wait to receive a confirmation and proceed further with the process of starting, it is causing delay.

In second scenario since there is no connectivity available and your system is not able to connect to your primary domain itself you are getting the error code 1789, which is a failure to establish the trust relationship between this workstation and the primary domain. Here the communication result is quick since your system is not able to perform the primary authentication itself hence with a quick result Unity is able to proceed further with the process of starting.

As this issue is not related to the Unity, you should contact your company’s system administrator to resolve this issue for you.