The error "Machine Identification is invalid for current license" in Unity is usually caused by the license file linked to the wrong network adapter or hardware changes. To fix it, on Windows, disable and re-enable the primary network adapter, delete existing license files in specified folders, and reactivate the license via Unity Hub. On macOS, turn off Private Wi-Fi Access, delete license files from the Unity Application Support folder, and reactivate the license. Contact Customer Experience with logs if the issue persists.
Cause:
Generally speaking, the error 'Machine Identification is invalid for current license' is caused by the Unity License File (ULF) being attached to the incorrect network adapter, but can also be triggered by hardware changes to you machine or stale legacy license files causing a conflict.
Resolution:
- Close all Unity applications (to quit Unity Hub on Windows, right-click the system tray icon and select 'Quit Unity Hub')
- Press Start
- Type Control Panel into Windows search
- Navigate to Network and Sharing Centre
- Navigate to Change Adapter Settings
- Right-click on your primary network adapter
- Select Disable from the context menu
- Wait about 15 seconds
- Right-click on the primary network adapter again
- Select Enable from the context menu
- Navigate to C:\ProgramData\Unity
- Delete your existing license file (Unity_lic.ulf) here, as well as any .ulf files located under %APPDATA%\Unity and %LOCALAPPDATA%\Unity
- Re-open the Unity Hub and activate your Unity license by following the steps in the article 'How do I activate my license?'.
- Close all Unity applications (to quit Unity Hub on Windows, right-click the system tray icon and select 'Quit Unity Hub')
- Open System Settings
- Click Network
- Select WiFi
- Open Details for the current connection
- Under Private Wi-Fi Access, toggle it Off
- Navigate to Library > Application Support > Unity (Alternatively, ~/Library/Application Support/Unity)
- Delete any existing .ulf or .xml files
- Re-open the Unity Hub and reactivate your Unity license by following the steps in the article 'How do I activate my license?'.