Unreal 5.5.4 + Meta XR v78 -> VR Preview does not work with Link
- 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...