Initiating legacy licensing module
LICENSE SYSTEM [20191211 17:30:4] Next license update check is after 2019-12-12T11:05:19
LookupAccountName() failed. Error 1332
LICENSE SYSTEM [20191211 17:30:4] Couldn't set permissions of the license file (Win32_AddFileAccessRights).
These are the first few lines of my build log when i try to build for android. The build runs fine but i have these errors in the log and im not sure what the problem is.
Apparently there is some issue with file access permissions. I looked at the license file at C:\ProgramData\Unity but the permissions look fine to me. I searched for the error online but couldnt find much. I would appreciate some help. Thanks.
Did you find a solution for this issue? We are encountering the same problem. Valid licence, yet Unity closes on startup with the “unity LookupAccountName() failed. Error 1332” error, followed by ‘LICENSE SYSTEM [2020728 9:59:6] Couldn’t set permissions of the license file (Win32_AddFileAccessRights).’
Starting as admin doesn’t solve the error.
EDIT: After further investigation, these errors appear harmless (we have them on working installs as well).
Our unity closing issue was due to a CTD(no error dialog) linked to a corrupted(?) asset database. Removing the Library folder and reimporting the project fixed the crash.