Forum Discussion

lhoyet's avatar
lhoyet
Honored Guest
2 months ago
Solved

Unreal 5.5.4 + Meta XR v78 -> VR Preview does not work with Link

Hi everyone,  I am new to this forum, and went through the discussions to try to figure out my problem. But to no avail, so here I start a new thread as it seems sligthly different to the problems t...
  • lhoyet's avatar
    lhoyet
    2 months ago

    Hi, I only had time to look at it yesterday and today, and specifying the OculusAppId and RiftAppId did not solve the problem...

    As we had it running previously without these, I tried a clean full install on another computer, and the VR Preview worked, which made me suspect that it could be a problem with my computer. I therefore uninstalled fully all versions of Unreal, Meta Quest Link, and Android Studio, and fully restarted installing as mentioned in the documentation here

    The good news is that after a clean install the VR Preview now works fine, so there was a problem with my installation. However building to apk then started to fail, with the following error 

    UATHelper: Packaging (Android (ASTC)): Expecting to find a type to be declared in a module rules named 'OculusXRHMD' in 'UE5Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.  This type must derive from the 'ModuleRules' type defined by UnrealBuildTool.
    UATHelper: Packaging (Android (ASTC)): Took 2,19s to run dotnet.exe, ExitCode=8
    UATHelper: Packaging (Android (ASTC)): UnrealBuildTool failed. See log for more details.

    I mention it here in case it can help others, but it looks like the problem came from the fact that I copied the MetaXR and MetaXRPlatform plugins directly into the Plugin folder of UE5_5 (C:\Program Files\Epic Games\UE_5.5\Engine\Plugins\), which used to work for me before. Instead, moving these folders into "C:\Program Files\Epic Games\UE_5.5\Engine\Plugins\Marketplace\ " solved the issue to build to Android apk 

    So in the end, uninstalling everything and restarting from a clean install solved the problem...

→ Find helpful resources to begin your development journey in Getting Started

→ Get the latest information about HorizonOS development in News & Announcements.

→ Access Start program mentor videos and share knowledge, tutorials, and videos in Community Resources.

→ Get support or provide help in Questions & Discussions.

→ Show off your work in What I’m Building to get feedback and find playtesters.

→ Looking for documentation?  Developer Docs

→ Looking for account support?  Support Center

→ Looking for the previous forum?  Forum Archive

→ Looking to join the Start program? Apply here.

 

Recent Discussions