Search Issue Tracker

Fixed in 2020.1.X

Votes

0

Found in

Issue ID

1217435

Regression

No

[OnDemand] Unity hangs indefinitely if License Check fails on import worker.

Asset - Database

-

1. Make sure you have an expired license (or hardcode the check to say failed)
2. Start up the Test Suite: EditModeAndPlayModeTests\OnDemand
3. Run the test "GetArtifactHash_ByBlocking_ReturnsValidHashAndProgress"
4. Notice the test hangs forever.

Additional info:

Main Process hangs on:

completionHandler.completionEvent.WaitForSignal(); inside OnDemandScheduler::WaitForImport

Stack:

> Unity.exe!OnDemandScheduler::WaitForImport
Unity.exe!OnDemandScheduler::WaitForImport
Unity.exe!OnDemandImportAssetV2
Unity.exe!EditorAssetResolver::ResolveAsset
Unity.exe!ResolveArtifactV2
Unity.exe!AssetDatabaseExperimental::GetArtifactHash_Internal_Guid
Unity.exe!AssetDatabaseExperimental_CUSTOM_GetArtifactHash_Internal_Guid_Injected

AssetImportWorkerProcess0.log says:

[Licensing::Module] Channel doesn't exist: "LicenseClient-javier"
[Licensing::Module] Successfully launched the LicensingClient (PId: 27936)
[Licensing::Module] Successfully connected to LicensingClient on channel: "LicenseClient-javier"
[LicensingClient] Error: Code 1 while verifying Licensing Client signature (process Id: 27936, path: "C:/Projects/unity_repo/unity_13/build/WindowsEditor/Data/Resources/Licensing/Client/Unity.Licensing.Client.exe")
[Licensing::Module] Error: LicensingClient has failed validation
IPC channel to LicensingClient doesn't exist; falling back to Legacy licensing
BatchMode: Unity has not been activated with a valid License. Could be a new activation or renewal...
(Filename: C:\Projects\unity_repo\unity_13\Platforms/Windows/Modules/LicensingLegacy/WinILicensingAdapter.cpp Line: 41)

DisplayProgressbar: Unity license
[UnityConnectServicesConfig] config is NOT valid, switching to default
Cancelling DisplayDialog: Failed to activate/update license Missing or bad username or password. Please try again using valid credentials or contact support@unity3d.com
This should not be called in batch mode.
(Filename: C:\Projects\unity_repo\unity_13\Editor/Platform/Windows/EditorUtility.cpp Line: 1116)

Exiting without the bug reporter. Application will terminate with return code 1

Comments (1)

  1. i_cassell

    Sep 07, 2020 06:49

    [Licensing::Module] Channel doesn't exist: "LicenseClient-xxxx" same question.
    I can‘t understand what happend.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.