Forum Discussion
stephFPS
2 years agoExplorer
Compatibility issue between Oculus Subsystem and MetaXR Platform
Using an unreal engine built from source and using the MetaXR v1.91, enabling both Oculus Subsystem Oculus and MetaXR Platform plugins at the same time in any project breaks compilation, causing link issues on the OVRPlatform library.
Are there any known solution for this?
example logs from a blank template project:
UATHelper: Packaging (Android (ASTC)): ld.lld: error: undefined symbol: ovr_ApplicationInviteArray_GetSize
UATHelper: Packaging (Android (ASTC)): >>> referenced by OVRPlatformCppPageRequests.cpp:152 (./../Plugins/MetaXRPlatform/Source/OVRPlatform/Private/OVRPlatformCppPageRequests.cpp:152)
UATHelper: Packaging (Android (ASTC)): >>> OVRPlatform/Module.OVRPlatform.3.cpp.o:(OvrPlatform_ApplicationInvitePages_GetPageEntries(FOvrApplicationInvitePages const&, TArray<FOvrApplicationInvite, TSizedDefaultAllocator<32> >&))
UATHelper: Packaging (Android (ASTC)): >>> referenced by OVRPlatformModels.cpp:1896 (./../Plugins/MetaXRPlatform/Source/OVRPlatform/Private/OVRPlatformModels.cpp:1896)
UATHelper: Packaging (Android (ASTC)): >>> OVRPlatform/Module.OVRPlatform.3.cpp.o:(UOvrApplicationInvitePagesMethods::ApplicationInvitePages_GetSize(FOvrApplicationInvitePages const&))
UATHelper: Packaging (Android (ASTC)): >>> referenced by OVRPlatformPageRequests.cpp:219 (./../Plugins/MetaXRPlatform/Source/OVRPlatform/Private/OVRPlatformPageRequests.cpp:219)
UATHelper: Packaging (Android (ASTC)): >>> OVRPlatform/Module.OVRPlatform.4.cpp.o:(std::__ndk1::__function::__func<UOvrPageRequestsBlueprintLibrary::FetchApplicationInvitePage(UObject*, EOvrForwardArrayIteratorInputPins const&, EOvrPageRequestOutputPins&, FLatentActionInfo, FOvrApplicationInvitePages const&, TArray<FOvrApplicationInvite, TSizedDefaultAllocator<32> >&, bool&, FString&)::$_10, std::__ndk1::allocator<UOvrPageRequestsBlueprintLibrary::FetchApplicationInvitePage(UObject*, EOvrForwardArrayIteratorInputPins const&, EOvrPageRequestOutputPins&, FLatentActionInfo, FOvrAppl
icationInvitePages const&, TArray<FOvrApplicationInvite, TSizedDefaultAllocator<32> >&, bool&, FString&)::$_10>, unsigned long ()>::operator()())
UATHelper: Packaging (Android (ASTC)): >>> referenced 1 more times
UATHelper: Packaging (Android (ASTC)): ld.lld: error: undefined symbol: ovr_ApplicationInviteArray_GetElement
UATHelper: Packaging (Android (ASTC)): >>> referenced by OVRPlatformCppPageRequests.cpp:156 (./../Plugins/MetaXRPlatform/Source/OVRPlatform/Private/OVRPlatformCppPageRequests.cpp:156)
UATHelper: Packaging (Android (ASTC)): >>> OVRPlatform/Module.OVRPlatform.3.cpp.o:(OvrPlatform_ApplicationInvitePages_GetPageEntries(FOvrApplicationInvitePages const&, TArray<FOvrApplicationInvite, TSizedDefaultAllocator<32> >&))
UATHelper: Packaging (Android (ASTC)): >>> referenced by OVRPlatformModels.cpp:1886 (./../Plugins/MetaXRPlatform/Source/OVRPlatform/Private/OVRPlatformModels.cpp:1886)
UATHelper: Packaging (Android (ASTC)): >>> OVRPlatform/Module.OVRPlatform.3.cpp.o:(UOvrApplicationInvitePagesMethods::ApplicationInvitePages_GetElement(FOvrApplicationInvitePages const&, long long))
UATHelper: Packaging (Android (ASTC)): >>> referenced by OVRPlatformPageRequests.cpp:223 (./../Plugins/MetaXRPlatform/Source/OVRPlatform/Private/OVRPlatformPageRequests.cpp:223)
UATHelper: Packaging (Android (ASTC)): >>> OVRPlatform/Module.OVRPlatform.4.cpp.o:(std::__ndk1::__function::__func<UOvrPageRequestsBlueprintLibrary::FetchApplicationInvitePage(UObject*, EOvrForwardArrayIteratorInputPins const&, EOvrPageRequestOutputPins&, FLatentActionInfo, FOvrApplicationInvitePages const&, TArray<FOvrApplicationInvite, TSizedDefaultAllocator<32> >&, bool&, FString&)::$_10, std::__ndk1::allocator<UOvrPageRequestsBlueprintLibrary::FetchApplicationInvitePage(UObject*, EOvrForwardArrayIteratorInputPins const&, EOvrPageRequestOutputPins&, FLatentActionInfo, FOvrAppl
icationInvitePages const&, TArray<FOvrApplicationInvite, TSizedDefaultAllocator<32> >&, bool&, FString&)::$_10>, unsigned long ()>::operator()())
UATHelper: Packaging (Android (ASTC)): >>> referenced 1 more times
5 Replies
Replies have been turned off for this discussion
- lee_hammoudExplorer
I don't think there's any way around it. I was getting the same errors until disabling Oculus Online Subsystem. MetaXR Platform is supposed to replace OOS's functionalities. So yea, ditch OOS- Its weird one would get linkage errors for this. Anyway, it sounds like a headache to fix so I just ditched OO
- lee_hammoudExplorer
Actually my bad. There is no way we can ditch OOS. I have the same exact linkage errors with 5.3 Meta fork's and MetaXRPlatform from SharedSpaces. Did you figure out a solution? This is frustrating.
- stephFPSExplorer
Hey Lee, sorry you ran into this as well
I didn't get any more information on this, had to disable the OSS plugin on my end, luckily it wasn't needed
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device