You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

I am trying to active my unity license. However I got access defined. And my license cannot be activatived. Need help on that.

I moved the licence file to the different folder and I am sure that UnityHub has the file access. However, I got the same error. How can I grant my folder access.

{"level":"info","message":"[ 'setAccessToken: Setting access token' ]","moduleName":"LicensingSdkService","timestamp":"2022-02-21T16:01:14.182Z"}

{"level":"info","message":"[\n 'Importing license file /Users/User/Documents/Unity_License/Unity_lic.ulf'\n]","moduleName":"LicensingSdkService","timestamp":"2022-02-21T16:01:14.182Z"}

{"level":"warn","message":"[ 'A problem occurred while importing license file' ]","moduleName":"LicensingSdkService","timestamp":"2022-02-21T16:01:14.221Z"}

{"level":"info","message":"[ 'licenseInvalid --> initializing' ]","moduleName":"LicenseFSM","timestamp":"2022-02-21T16:01:14.222Z"}

{"level":"warn","message":"[\n \"An error occurred during the import of ULF file. Error: Access to the path '/Library/Application Support/Unity/Unity_lic.ulf' is denied.\"\n]","moduleName":"LicenseService","timestamp":"2022-02-21T16:01:14.222Z"}

{"level":"warn","message":"[ 'License File is not available.' ]","moduleName":"UnityLicenseCore","timestamp":"2022-02-21T16:01:14.223Z"}

{"level":"info","message":"[ 'License initialized' ]","moduleName":"LicenseClient","timestamp":"2022-02-21T16:01:14.223Z"}

{"level":"info","message":"[ 'initializing --> licenseInvalid' ]","moduleName":"LicenseFSM","timestamp":"2022-02-21T16:01:14.223Z"}

{"level":"info","message":"[ 'License error: 98' ]","moduleName":"LicenseClient","timestamp":"2022-02-21T16:01:14.223Z"}




The Uic files in the App Support folder

{"level":"info","message":"[ 'setAccessToken: Setting access token' ]","moduleName":"LicensingSdkService","timestamp":"2022-02-21T15:59:51.884Z"}

{"level":"info","message":"[\n 'Importing license file /Users/User/Library/Application Support/Unity/Unity_lic.ulf'\n]","moduleName":"LicensingSdkService","timestamp":"2022-02-21T15:59:51.885Z"}

{"level":"warn","message":"[ 'A problem occurred while importing license file' ]","moduleName":"LicensingSdkService","timestamp":"2022-02-21T15:59:51.958Z"}

{"level":"info","message":"[ 'licenseInvalid --> initializing' ]","moduleName":"LicenseFSM","timestamp":"2022-02-21T15:59:51.960Z"}

{"level":"warn","message":"[\n \"An error occurred during the import of ULF file. Error: Access to the path '/Library/Application Support/Unity/Unity_lic.ulf' is denied.\"\n]","moduleName":"LicenseService","timestamp":"2022-02-21T15:59:51.960Z"}

{"level":"warn","message":"[ 'License File is not available.' ]","moduleName":"UnityLicenseCore","timestamp":"2022-02-21T15:59:51.961Z"}

{"level":"info","message":"[ 'License initialized' ]","moduleName":"LicenseClient","timestamp":"2022-02-21T15:59:51.961Z"}

{"level":"info","message":"[ 'initializing --> licenseInvalid' ]","moduleName":"LicenseFSM","timestamp":"2022-02-21T15:59:51.961Z"}

{"level":"info","message":"[ 'License error: 98' ]","moduleName":"LicenseClient","timestamp":"2022-02-21T15:59:51.961Z"}

MacBook Pro 13″, macOS 10.12

Posted on Feb 21, 2022 9:40 AM

Reply

Similar questions

3 replies

Feb 21, 2022 12:48 PM in response to zliu113

Tried with the way to generate the lincese and activation Automatically. However it shows the same premission denied error.

2022-02-21 20:44:05.079 - [ 1199] - [ 7] - INFO - Unity.Licensing.Client.Communication.Controllers.AccessTokenController || Got access token: GlwbgL4cGB6IsJBPXhu5wubNoyCc1W1HRqOMmuj4o_Q002f (expires in 30758400 seconds)

2022-02-21 20:44:05.080 - [ 1199] - [ 7] - INFO - Unity.Licensing.Client.Communication.ApiPipeHandler#1 || [Response] Type: AccessTokenResponse, Code: 200, Status:

2022-02-21 20:44:05.082 - [ 1199] - [ 7] - INFO - Unity.Licensing.Client.Services.Licensing.GenesisLicensingService || [5de84c386124466aaec462b4244da289] Starting Ulf transaction for NEW operation

2022-02-21 20:44:07.069 - [ 1199] - [ 23] - ERROR - Unity.Licensing.Client.Services.Licensing.GenesisLicensingService || [5de84c386124466aaec462b4244da289] An unexpected error occured while saving ULF license from NEW response: Access to the path '/Library/Application Support/Unity/Unity_lic.ulf' is denied.

System.UnauthorizedAccessException: Access to the path '/Library/Application Support/Unity/Unity_lic.ulf' is denied.

---> System.IO.IOException: Permission denied

--- End of inner exception stack trace ---

at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)

at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)

at System.IO.FileStream.OpenHandle(FileMode mode, FileShare share, FileOptions options)

at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)

at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)

at System.IO.File.Create(String path)

at Unity.Licensing.Client.Services.Licensing.GenesisLicensingService.WriteLicenseFile(UlfTransaction transaction)

2022-02-21 20:44:07.071 - [ 1199] - [ 23] - ERROR - Unity.Licensing.Client.Services.Licensing.GenesisLicensingService || [5de84c386124466aaec462b4244da289] An error occured while performing the ULF NEW operation: Cannot save ULF license file: Unexpected error. Access to the path '/Library/Application Support/Unity/Unity_lic.ulf' is denied.

2022-02-21 20:44:07.072 - [ 1199] - [ 7] - INFO - Unity.Licensing.Client.Communication.ApiPipeHandler#1 || [Response] Type: ULFActivationResponse, Code: 1500, Status: Cannot save ULF license file: Unexpected error. Access to the path '/Library/Application Support/Unity/Unity_lic.ulf' is denied.


I am trying to active my unity license. However I got access defined. And my license cannot be activatived. Need help on that.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.