Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Sir_davis3's avatar
Sir_davis3
Explorer
1 year ago

Setting up Meta XR with C++

Hi Everyone!

I've recently migrated from 5.1 to 5.3 and switched to MetaXR and MetaXRPlatform.
However, I am unable to use the functions as I'm struggling with this step of the guide:

  1. Modify your project's build.cs and replace any Oculus modules with OculusXR versions.
  2. Build your project.
  3. Make note of the compiler errors and for each Oculus type not existing, change its declarations to use OculusXRType.
So Far I've been unable to modify the cs, as it leads to the app not packaging.
I also get this error on starting up the project:
LogOculusXRAnchors: Warning: Unable to retrieve OculusXRHMD
I'd appreciate any help or examples as how I'd go about setting this up!

3 Replies

Replies have been turned off for this discussion
  • Hello, 

    I recently got the Same error. I think I fixed the OculusXRHMD Not found By placing the MetaXR Plugin (v62) in the Engine/Plugins/Marketplace folder. The Folder needs to be Created First 

    • Sir_davis3's avatar
      Sir_davis3
      Explorer

      Hi Maghton, thanks for replying this one as well.
      The plugin is in that location, but the issue persists

      • happymonkey.72273's avatar
        happymonkey.72273
        Honored Guest

        Hello, can you please solve the problem that OculusXRHMD is not found in MetaXR when compiling in UEC++