Unity_v5.x.ulf does not exist in C:\ProgramData\Unity

Every time I launch Unity I get the "Failed to write “C:
/ProgramData/Unity/Unity_v5.x.ulf” error.

I’ve seen suggestions to change the permissions for that file, but that file does not exist. Yes, “Hidden Items” is checked in the View tab of Explorer.

There is a Unity_v4.x.ulf file in that directory, but no v5 version.

I can run the editor as Administrator and successfully enter my license key and get Unity running, but if I relaunch it, the Unity_v5.x.ulf file is deleted from ProgramData/Unity - I can watch it disappear when re-launching. Then I’m prompted for my license key again.

I’ve tried setting the file to read-only after it’s created and the license information has been written to it, but it doesn’t help - it’s still erased from its directory every time I relaunch the editor.

Hi @Gendun,

Sorry for the inconvenience.

Can you share me you Editor.log file? This post have detail file location information:

For your scenario, I believe the Editor tried to update verification information into the license file. But after it deleted the old license, it failed to write the updated license content to the folder. The Editor.log file might contains more information.

You can check if there any difference between the folder access permission and the license file access permission after running the editor as Administrator.

Best Regards,
Justin Zheng