Skip to main content
Participant
February 27, 2024

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!
    This topic has been closed for replies.

    3 replies

    Participant
    February 29, 2024

    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 

    Sirdavis3Author
    Participant
    March 1, 2024

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

    New Participant
    November 5, 2024

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