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 times2.2KViews2likes5Commentsovr_GetLoggedInUserID In MetaXR Platform for Unreal Engine always return 0
At the moment, at the beginning of the scene, the initialization of the platform and IAD connection is taking place, it is being performed successfully. From DefaultEngine.ini, I select Oculus Email and OculusPassword for the user, in this case the ovr_GetLoggedInUserID query returns 0, just like there is a line in the log stating that "Warning LogOnlineIdentity Oculus: Failed Oculus login. Not currently logged into Oculus. Make sure Oculus is running and you are entitled to the app." Inside the application, the dashboard has all the necessary, up-to-date permissions to request data, however, as I wrote above, the login does not pass under any circumstances, at the moment I am at a dead end, if someone knows how to solve this problem, please write here.889Views0likes0Comments