cancel
Showing results for 
Search instead for 
Did you mean: 

OpenXR issue when combining MetaSDK and Unity XR Framework (Unable to match appSpace)

DennisVH
Honored Guest

Problem is with upgrading an app to the latest MetaXR Core 69.0.1, OpenXR 1.12.1 and XR Core utilities 2.3.0 in unity 2022.3.28f1.

My graphics are rendered at the right position, but the camera's are registering the position as 0,0,0 which results in the graphics being at the wrong stereo depth. Resulting in a cross-eyed view and when shifting your head there's a perspective mismatch shifting the model as if it was in front of the camera at 0,0,0. 

When moving the 3d object to 0,0,0 the image looks right. So it seems the XROrigin is wrongly calculated.

There's also a warning in the console to back this theory up:

[OVRPlugin] CompositorOpenXR::SetExternalXrAppSpace: Unable to match appSpace to a TrackingOrigin (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:6523)
OVRManager:OVRPluginLogCallback (OVRPlugin/LogLevel,intptr,int) (at ./Library/PackageCache/com.meta.xr.sdk.core@69.0.1/Scripts/OVRManager.cs:2095)
OVRPlugin/UnityOpenXR:OnAppSpaceChange (ulong) (at ./Library/PackageCache/com.meta.xr.sdk.core@69.0.1/Scripts/OVRPlugin.cs:11402)
Meta.XR.MetaXRFeature:OnAppSpaceChange (ulong) (at ./Library/PackageCache/com.meta.xr.sdk.core@69.0.1/Scripts/OpenXRFeatures/MetaXRFeature.cs:229)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

If anyone has any idea.

Thanks!

1 REPLY 1

MetaQuestSupport
Community Manager
Community Manager

Hey!

 

You may get more in-depth support for this issue through our developer support site: https://developer.oculus.com/support/