Hi, we are trying to activate the plugin downloaded from Marketplace using Unreal Engine 5.2 but at the first launch we got an error that crash Unreal Engine.
Fatal error: [Line: 1724] leiaSDK-faceTrackingInApp.dll failed to load.
I’m having an issue actually compiling 5.2 build from Github. I, too, would like to start using the UE SDK. Are you using 5.2.0 through the Launcher (no longer available to me, as I have 5.2.1 installed, and Leia seems to have a hard recommend for 5.2.0) or, did you have to resort to downloading and compiling 5.2.0 from Github?
I’ve got some time to try and get this to work. Thanks for confirming 5.2.1 is a valid version. I appear to be stuck during the Recompile Leia Plugin stage. Lots of “Failed to delete file” errors. Can you decipher anything from this output log?
Using bundled DotNet SDK version: 6.0.302
Running UnrealBuildTool: dotnet “…..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” -ModuleWithSuffix=LeiaCamera,0508 UnrealEditor Win64 Development -Project=“F:/ProjectWithLeiaSDK/tokenBase_521/tokenBase_521.uproject” “F:/ProjectWithLeiaSDK/tokenBase_521/tokenBase_521.uproject” -IgnoreJunk
Log file: C:\Users\steve\AppData\Local\UnrealBuildTool\Log.txt
Creating makefile for UnrealEditor (no existing makefile)
Parsing headers for UnrealEditor
Running Internal UnrealHeaderTool F:\ProjectWithLeiaSDK\tokenBase_521\tokenBase_521.uproject F:\ProjectWithLeiaSDK\tokenBase_521\Intermediate\Build\Win64\UnrealEditor\Development\UnrealEditor.uhtmanifest -WarningsAsErrors -installed
Total of 3 written
Reflection code generated for UnrealEditor in 1.0456964 seconds
Failed to delete file ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\realsense2.dll’
Exception: Access to the path ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\realsense2.dll’ is denied.
Attempting to retry…
Failed to delete file ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\realsense2.dll’
Exception: Access to the path ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\realsense2.dll’ is denied.
Attempting to retry…
Failed to delete file ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\realsense2.dll’
Exception: Access to the path ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\realsense2.dll’ is denied.
ERROR: Exhausted all retries!
Failed to delete file ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\shaderc_shared.dll’
Exception: Access to the path ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\shaderc_shared.dll’ is denied.
Attempting to retry…
Failed to delete file ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\shaderc_shared.dll’
Exception: Access to the path ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\shaderc_shared.dll’ is denied.
Attempting to retry…
Failed to delete file ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\shaderc_shared.dll’
Exception: Access to the path ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\shaderc_shared.dll’ is denied.
ERROR: Exhausted all retries!
Failed to delete file ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\LeiaDisplaySdkCpp.dll’
Exception: Access to the path ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\LeiaDisplaySdkCpp.dll’ is denied.
Attempting to retry…
Failed to delete file ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\LeiaDisplaySdkCpp.dll’
Exception: Access to the path ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\LeiaDisplaySdkCpp.dll’ is denied.
Attempting to retry…
Failed to delete file ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\LeiaDisplaySdkCpp.dll’
Exception: Access to the path ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\LeiaDisplaySdkCpp.dll’ is denied.
ERROR: Exhausted all retries!
Failed to delete file ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\blink_landmark_detector.dll’
Exception: Access to the path ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\blink_landmark_detector.dll’ is denied.
Attempting to retry…
Failed to delete file ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\blink_landmark_detector.dll’
Exception: Access to the path ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\blink_landmark_detector.dll’ is denied.
Attempting to retry…
Failed to delete file ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\blink_landmark_detector.dll’
Exception: Access to the path ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\blink_landmark_detector.dll’ is denied.
ERROR: Exhausted all retries!
Failed to delete file ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\tensorflowlite_c.dll’
Exception: Access to the path ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\tensorflowlite_c.dll’ is denied.
Attempting to retry…
Failed to delete file ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\tensorflowlite_c.dll’
Exception: Access to the path ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\tensorflowlite_c.dll’ is denied.
Attempting to retry…
Failed to delete file ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\tensorflowlite_c.dll’
Exception: Access to the path ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\tensorflowlite_c.dll’ is denied.
ERROR: Exhausted all retries!
Failed to delete file ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\blink.dll’
Exception: Access to the path ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\blink.dll’ is denied.
Attempting to retry…
Failed to delete file ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\blink.dll’
Exception: Access to the path ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\blink.dll’ is denied.
Attempting to retry…
Failed to delete file ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\blink.dll’
Exception: Access to the path ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\blink.dll’ is denied.
ERROR: Exhausted all retries!
Failed to delete file ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\license_utils.dll’
Exception: Access to the path ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\license_utils.dll’ is denied.
Attempting to retry…
Failed to delete file ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\license_utils.dll’
Exception: Access to the path ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\license_utils.dll’ is denied.
Attempting to retry…
Failed to delete file ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\license_utils.dll’
Exception: Access to the path ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\license_utils.dll’ is denied.
ERROR: Exhausted all retries!
Failed to delete file ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\gpu_delegate.dll’
Exception: Access to the path ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\gpu_delegate.dll’ is denied.
Attempting to retry…
Failed to delete file ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\gpu_delegate.dll’
Exception: Access to the path ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\gpu_delegate.dll’ is denied.
Attempting to retry…
Failed to delete file ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\gpu_delegate.dll’
Exception: Access to the path ‘F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Binaries\Win64\gpu_delegate.dll’ is denied.
ERROR: Exhausted all retries!
Building UnrealEditor…
Using Visual Studio 2022 14.34.31948 toolchain (C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933) and Windows 10.0.18362.0 SDK (C:\Program Files (x86)\Windows Kits\10).
Determining max actions to execute in parallel (32 physical cores, 64 logical cores)
Executing up to 32 processes, one per physical core
Requested 1.5 GB free memory per action, 15.97 GB available: limiting max parallel actions to 10
Building 21 actions with 10 processes…
[1/21] Copy face_model_a
[2/21] Copy license
[3/21] Resource Default.rc2
[4/21] Copy LeiaDisplaySdkCpp.dll
The process cannot access the file because it is being used by another process.
[5/21] Copy opencv_world3413.dll
[6/21] Copy realsense2.dll
The process cannot access the file because it is being used by another process.
[7/21] Copy leiaSDK-faceTrackingInApp.dll
[8/21] Copy tensorflowlite_c.dll
The process cannot access the file because it is being used by another process.
[9/21] Copy blink_detector_model
[10/21] Copy shaderc_shared.dll
The process cannot access the file because it is being used by another process.
[11/21] Copy license_utils.dll
The process cannot access the file because it is being used by another process.
[12/21] Copy blink.dll
The process cannot access the file because it is being used by another process.
[13/21] Copy gpu_delegate.dll
The process cannot access the file because it is being used by another process.
[14/21] Copy face_lock_config
[15/21] Copy blink_landmark_detector.dll
The process cannot access the file because it is being used by another process.
[16/21] Copy LeiaDisplayService.Wcf.dll
[17/21] Compile [x64] SharedPCH.Engine.ShadowErrors.cpp
[18/21] Compile [x64] Module.LeiaCamera.cpp
F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Source\LeiaCamera\Libraries\CNSDK\include\leia\headTracking\common\frameAdapter.hpp(106): warning C4265: ‘leia::head::BufferedFrame’: class has virtual functions, but its non-trivial destructor is not virtual; instances of this class may not be destructed correctly
[19/21] Link [x64] UnrealEditor-LeiaCamera-0508.lib
Creating library F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Intermediate\Build\Win64\x64\UnrealEditor\Development\LeiaCamera\UnrealEditor-LeiaCamera-0508.lib and object F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Intermediate\Build\Win64\x64\UnrealEditor\Development\LeiaCamera\UnrealEditor-LeiaCamera-0508.exp
[20/21] Link [x64] UnrealEditor-LeiaCamera-0508.dll
Creating library F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Intermediate\Build\Win64\x64\UnrealEditor\Development\LeiaCamera\UnrealEditor-LeiaCamera-0508.suppressed.lib and object F:\ProjectWithLeiaSDK\tokenBase_521\Plugins\LeiaCamera\Intermediate\Build\Win64\x64\UnrealEditor\Development\LeiaCamera\UnrealEditor-LeiaCamera-0508.suppressed.exp
[21/21] WriteMetadata UnrealEditor.target cancelled