Announcement

Collapse
No announcement yet.

Failed to load Windows Mixed Reality Interop Library - UE 4.23

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Failed to load Windows Mixed Reality Interop Library - UE 4.23

    Hello. I getting this error, while running my packaged game. I'm packaging with Win64 target.
    I used same setting on UE 4.22.3 GitHub, and packaged my game, which running without any errors.
    • I tried to rebuild the MixedRealtityInterop plugin (from Engine/Source/Plugins/ThirdParty) -- didn't help.
    • I tried to install binary version of UE 4.23.0 (Epic Launcher) -- same problem there.
    So, where should I look?
    Last edited by scadl; 09-14-2019, 04:31 AM.

    #2
    Yeah... I have exactly the same problem...

    Comment


      #3
      Had this same problem. I got it working again by copying a few lines from the 4.22 branch into 4.23. In 'WindowsMixedRealityHMD.cpp', you'll see a comment "// Then finally try to load the WMR Interop Library" and the error message is right after that. Before that comment, around line 174, add this:

      Code:
      FString PerceptionSimulationDLLPath = EngineDir / "Binaries" / BinariesSubDir / "Microsoft.Perception.Simulation.dll";
      FString HolographicStreamerDesktopDLLPath = EngineDir / "Binaries" / BinariesSubDir / "HolographicStreamerDesktop.dll";
      
      void* PerceptionSimulationDLLHandle = FPlatformProcess::GetDllHandle(*PerceptionSimulationDLLPath);
      void* HolographicStreamerDesktopDLLHandle = FPlatformProcess::GetDllHandle(*HolographicStreamerDesktopDLLPath);

      Comment


        #4
        Thanks for reply!
        Hmm I think will wait for fix in Launcher Version...

        Comment


          #5
          Originally posted by ItsNotMeTrustMe View Post
          Had this same problem. I got it working again by copying a few lines from the 4.22 branch into 4.23. In 'WindowsMixedRealityHMD.cpp', you'll see a comment "// Then finally try to load the WMR Interop Library" and the error message is right after that. Before that comment, around line 174, add this:

          Code:
          FString PerceptionSimulationDLLPath = EngineDir / "Binaries" / BinariesSubDir / "Microsoft.Perception.Simulation.dll";
          FString HolographicStreamerDesktopDLLPath = EngineDir / "Binaries" / BinariesSubDir / "HolographicStreamerDesktop.dll";
          
          void* PerceptionSimulationDLLHandle = FPlatformProcess::GetDllHandle(*PerceptionSimulationDLLPath);
          void* HolographicStreamerDesktopDLLHandle = FPlatformProcess::GetDllHandle(*HolographicStreamerDesktopDLLPath);
          And I CONFIRM that this solution really works for me! So ItsNotMeTrustMe, you saved my day, and not only one!
          To everyone, who will use this, I strongly recommend to rebuilt MixedRealtityInterop plugin before repacking your game!

          Comment


            #6
            Originally posted by ItsNotMeTrustMe View Post
            Had this same problem. I got it working again by copying a few lines from the 4.22 branch into 4.23. In 'WindowsMixedRealityHMD.cpp', you'll see a comment "// Then finally try to load the WMR Interop Library" and the error message is right after that. Before that comment, around line 174, add this:

            Code:
            FString PerceptionSimulationDLLPath = EngineDir / "Binaries" / BinariesSubDir / "Microsoft.Perception.Simulation.dll";
            FString HolographicStreamerDesktopDLLPath = EngineDir / "Binaries" / BinariesSubDir / "HolographicStreamerDesktop.dll";
            
            void* PerceptionSimulationDLLHandle = FPlatformProcess::GetDllHandle(*PerceptionSimulationDLLPath);
            void* HolographicStreamerDesktopDLLHandle = FPlatformProcess::GetDllHandle(*HolographicStreamerDesktopDLLPath);
            Thanks for posting this - saved me some time debugging it. Should really have been picked up in QA as it seems any use of the WMR plugin in a build will fail.

            Comment

            Working...
            X