Failed to load SRWorks library in UE 4.18.3

SOLVED
KRONOS
Settler

Failed to load SRWorks library in UE 4.18.3

I'm unable to launch a project in UE 4.18.3. It always gives me Failed to load SRWorks library message followed by a fatal error that kills the launch.

 

I am, however, able to run everything just fine in VR Preview.

 

The output log spits out these lines:

LogPlayLevel: [2018.08.08-15.53.15:244][  0]LogWindows: Error: begin: stack for UAT
LogPlayLevel: [2018.08.08-15.53.15:244][  0]LogWindows: Error: === Critical error: ===
LogPlayLevel: [2018.08.08-15.53.15:244][  0]LogWindows: Error:
LogPlayLevel: [2018.08.08-15.53.15:244][  0]LogWindows: Error: Fatal error!
LogPlayLevel: [2018.08.08-15.53.15:244][  0]LogWindows: Error:
LogPlayLevel: [2018.08.08-15.53.15:244][  0]LogWindows: Error: Unhandled Exception: 0xc06d007e
LogPlayLevel: [2018.08.08-15.53.15:244][  0]LogWindows: Error:
LogPlayLevel: [2018.08.08-15.53.15:244][  0]LogWindows: Error: [Callstack] 0x000000004E0AA388 KERNELBASE.dll!UnknownFunction []
LogPlayLevel: [2018.08.08-15.53.15:244][  0]LogWindows: Error: [Callstack] 0x000000002F89FF23 TotallyEmpty.exe!__delayLoadHelper2() [f:\dd\vctools\delayimp\delayhlp.cpp:323]
LogPlayLevel: [2018.08.08-15.53.15:244][  0]LogWindows: Error: [Callstack] 0x000000002FD63668 TotallyEmpty.exe!_tailMerge_vivesr_api_dll() []
LogPlayLevel: [2018.08.08-15.53.15:244][  0]LogWindows: Error: [Callstack] 0x000000002EF02CB0 TotallyEmpty.exe!AViveSR::BeginPlay() [c:\users\medit\documents\unreal projects\totallyempty\plugins\srworks\source\srworks\private\vivesr.cpp:29]
LogPlayLevel: [2018.08.08-15.53.15:244][  0]LogWindows: Error: [Callstack] 0x000000002D43696C TotallyEmpty.exe!AActor::DispatchBeginPlay() []
LogPlayLevel: [2018.08.08-15.53.15:244][  0]LogWindows: Error: [Callstack] 0x000000002CDC194F TotallyEmpty.exe!AWorldSettings::NotifyBeginPlay() []
LogPlayLevel: [2018.08.08-15.53.15:244][  0]LogWindows: Error: [Callstack] 0x000000002CEF0BD1 TotallyEmpty.exe!AGameStateBase::HandleBeginPlay() []
LogPlayLevel: [2018.08.08-15.53.15:244][  0]LogWindows: Error: [Callstack] 0x000000002CDADEFE TotallyEmpty.exe!UWorld::BeginPlay() []
LogPlayLevel: [2018.08.08-15.53.15:244][  0]LogWindows: Error: [Callstack] 0x000000002CD054FE TotallyEmpty.exe!UEngine::LoadMap() []
LogPlayLevel: [2018.08.08-15.53.15:244][  0]LogWindows: Error: [Callstack] 0x000000002CCB7AA2 TotallyEmpty.exe!UEngine::Browse() []
LogPlayLevel: [2018.08.08-15.53.15:244][  0]LogWindows: Error: [Callstack] 0x000000002CF11BCE TotallyEmpty.exe!UGameInstance::StartGameInstance() []
LogPlayLevel: [2018.08.08-15.53.15:244][  0]LogWindows: Error: [Callstack] 0x000000002C2DB8A3 TotallyEmpty.exe!FEngineLoop::Init() []
LogPlayLevel: [2018.08.08-15.53.15:245][  0]LogWindows: Error: [Callstack] 0x000000002C2ED752 TotallyEmpty.exe!GuardedMain() []
LogPlayLevel: [2018.08.08-15.53.15:245][  0]LogWindows: Error: [Callstack] 0x000000002C2ED8CA TotallyEmpty.exe!GuardedMainWrapper() []
LogPlayLevel: [2018.08.08-15.53.15:245][  0]LogWindows: Error: [Callstack] 0x000000002C2FA9B8 TotallyEmpty.exe!WinMain() []
LogPlayLevel: [2018.08.08-15.53.15:245][  0]LogWindows: Error: [Callstack] 0x000000002F89C5DA TotallyEmpty.exe!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:283]
LogPlayLevel: [2018.08.08-15.53.15:245][  0]LogWindows: Error: [Callstack] 0x000000004E953034 KERNEL32.DLL!UnknownFunction []
LogPlayLevel: [2018.08.08-15.53.15:245][  0]LogWindows: Error: [Callstack] 0x0000000051241431 ntdll.dll!UnknownFunction []
LogPlayLevel: [2018.08.08-15.53.15:245][  0]LogWindows: Error: [Callstack] 0x0000000051241431 ntdll.dll!UnknownFunction []
LogPlayLevel: [2018.08.08-15.53.15:245][  0]LogWindows: Error:
LogPlayLevel: [2018.08.08-15.53.15:245][  0]LogWindows: Error: end: stack for UAT
LogPlayLevel: ERROR: Client exited with error code: 3

Any clue on that?

Vive Staff

Re: Failed to load SRWorks library in UE 4.18.3

Hi KRNOS,

 

SRWorks-0.7.5.0 works well in UE4.18.3 for me, can you try the steps decripted in the attached file.

If you encounter the same problem, please tell me how to reproduce it.

KRONOS
Settler

Re: Failed to load SRWorks library in UE 4.18.3

There's nothing I haven't done already  during the very first attempt. 

As I said, I'm able to get the plugin up and running in the editor and test it in PIE but when attempting to launch the project, it just doesn't do.

Also. It states it supports 4.18 (or later) but it definitely doesn't support 4.19.2. Haven't tried 4.20 yet but I guess that's even less probable.

 

KRONOS
Settler

Re: Failed to load SRWorks library in UE 4.18.3

UPDATE:

 

I'm unable to launch even the Experience Unreal template, getting the same Failed to load SRWorks library message followed by fatal error and that even after successfully packaging the project for Win 10 (64 bit), where I get the error after trying to launch the executable.

LogPlayLevel: [2018.08.09-17.41.23:626][  0]LogWindows: Error: begin: stack for UAT
LogPlayLevel: [2018.08.09-17.41.23:626][  0]LogWindows: Error: === Critical error: ===
LogPlayLevel: [2018.08.09-17.41.23:626][  0]LogWindows: Error:
LogPlayLevel: [2018.08.09-17.41.23:626][  0]LogWindows: Error: Fatal error!
LogPlayLevel: [2018.08.09-17.41.23:626][  0]LogWindows: Error:
LogPlayLevel: [2018.08.09-17.41.23:626][  0]LogWindows: Error: Unhandled Exception: 0xc06d007e
LogPlayLevel: [2018.08.09-17.41.23:626][  0]LogWindows: Error:
LogPlayLevel: [2018.08.09-17.41.23:626][  0]LogWindows: Error: [Callstack] 0x00000000A638A388 KERNELBASE.dll!UnknownFunction []
LogPlayLevel: [2018.08.09-17.41.23:626][  0]LogWindows: Error: [Callstack] 0x00000000D541A35F Experience_Unreal.exe!__delayLoadHelper2() [f:\dd\vctools\delayimp\delayhlp.cpp:323]
LogPlayLevel: [2018.08.09-17.41.23:626][  0]LogWindows: Error: [Callstack] 0x00000000D58DF0C8 Experience_Unreal.exe!_tailMerge_vivesr_api_dll() []
LogPlayLevel: [2018.08.09-17.41.23:626][  0]LogWindows: Error: [Callstack] 0x00000000D4A78500 Experience_Unreal.exe!AViveSR::BeginPlay() [c:\users\medit\documents\unreal projects\vive-srworks-0.7.5.0-unreal-experience\plugins\srworks\source\srworks\private\vivesr.cpp:29]
LogPlayLevel: [2018.08.09-17.41.23:626][  0]LogWindows: Error: [Callstack] 0x00000000D2FC5A1C Experience_Unreal.exe!AActor::DispatchBeginPlay() []
LogPlayLevel: [2018.08.09-17.41.23:626][  0]LogWindows: Error: [Callstack] 0x00000000D29509FF Experience_Unreal.exe!AWorldSettings::NotifyBeginPlay() []
LogPlayLevel: [2018.08.09-17.41.23:626][  0]LogWindows: Error: [Callstack] 0x00000000D2A7FC81 Experience_Unreal.exe!AGameStateBase::HandleBeginPlay() []
LogPlayLevel: [2018.08.09-17.41.23:626][  0]LogWindows: Error: [Callstack] 0x00000000D293CFAE Experience_Unreal.exe!UWorld::BeginPlay() []
LogPlayLevel: [2018.08.09-17.41.23:626][  0]LogWindows: Error: [Callstack] 0x00000000D28945AE Experience_Unreal.exe!UEngine::LoadMap() []
LogPlayLevel: [2018.08.09-17.41.23:626][  0]LogWindows: Error: [Callstack] 0x00000000D2846B52 Experience_Unreal.exe!UEngine::Browse() []
LogPlayLevel: [2018.08.09-17.41.23:626][  0]LogWindows: Error: [Callstack] 0x00000000D2AA0C7E Experience_Unreal.exe!UGameInstance::StartGameInstance() []
LogPlayLevel: [2018.08.09-17.41.23:626][  0]LogWindows: Error: [Callstack] 0x00000000D1E6B873 Experience_Unreal.exe!FEngineLoop::Init() []
LogPlayLevel: [2018.08.09-17.41.23:626][  0]LogWindows: Error: [Callstack] 0x00000000D1E7CEA2 Experience_Unreal.exe!GuardedMain() []
LogPlayLevel: [2018.08.09-17.41.23:626][  0]LogWindows: Error: [Callstack] 0x00000000D1E7D01A Experience_Unreal.exe!GuardedMainWrapper() []
LogPlayLevel: [2018.08.09-17.41.23:626][  0]LogWindows: Error: [Callstack] 0x00000000D1E89A28 Experience_Unreal.exe!WinMain() []
LogPlayLevel: [2018.08.09-17.41.23:626][  0]LogWindows: Error: [Callstack] 0x00000000D541710A Experience_Unreal.exe!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:283]
LogPlayLevel: [2018.08.09-17.41.23:626][  0]LogWindows: Error: [Callstack] 0x00000000A7423034 KERNEL32.DLL!UnknownFunction []
LogPlayLevel: [2018.08.09-17.41.23:626][  0]LogWindows: Error: [Callstack] 0x00000000A9B61431 ntdll.dll!UnknownFunction []
LogPlayLevel: [2018.08.09-17.41.23:626][  0]LogWindows: Error: [Callstack] 0x00000000A9B61431 ntdll.dll!UnknownFunction []
LogPlayLevel: [2018.08.09-17.41.23:626][  0]LogWindows: Error:
LogPlayLevel: [2018.08.09-17.41.23:626][  0]LogWindows: Error: end: stack for UAT
LogPlayLevel: ERROR: Client exited with error code: 3
Vive Staff

Re: Failed to load SRWorks library in UE 4.18.3

according to detailed information, you need to move dlls except ViveSR_API.dll from "WindowsNoEditor/ProjectName/Plugins/SRWorks/Binaries/Win64" to "WindowsNoEditor/ProjectName/Binaries/Win64" after "package project" > "windows(64-bit)".

attached picture may help you.

KRONOS
Settler

Re: Failed to load SRWorks library in UE 4.18.3

Thanks for the effort, however, it doesn't solve the issue. I still get the same message followed by fatal error.

I tried pasting the library to the folder you specified and I also tried it in the root folder but every time the result is the same. 

I don't see why this should matter as the manifest points to the right location where the dll natively sits.

Vive Staff

Re: Failed to load SRWorks library in UE 4.18.3

If you use the experience project, you need to put another dll Plugins/RuntimeMeshLoader/Binaries/Win/assimp-vc140-mt.dll next to exe file.

KRONOS
Settler
Solution

Re: Failed to load SRWorks library in UE 4.18.3

Yeah, I think I've had enough. This is obviously deep inside "work in progress" and I'm returning my Vive Pro kit today. Can't believe HTC is asking this much for something so underdeveloped. It's not just the UE SDK, I'm having issues in Steam VR as well. One day the cameras work, next day they don't. I'm going back to Oculus guys. I feel like I get more for half the price there and I'm free to work in the latest release of UE without a hitch.

Moderator

Re: Failed to load SRWorks library in UE 4.18.3

SRWorks is still labeled early access, and SteamVR isn't done with the front facing camera implementation (in beta)

Updates to both are forthcoming so sorry to see you leave to something without front facing cameras at all.

 

We'll improve the documentation online - thanks for the feedback!

KRONOS
Settler

Re: Failed to load SRWorks library in UE 4.18.3

Honestly, the dual cameras are probably the biggest let down for me. I also have Gear VR running Galaxy S9 so I was hoping for something similar - if not better, than Gear's See Through but the resolution on Vive Pro is simply horrific and hardly usable for what I was getting Vive Pro for.

 

If this was year 2017 I might tolerate all that but not with Pimax 8K around the corner and Rift working like a charm for half the price, and that even including a wireless module.