Closed konstyanchev closed 3 years ago
Hello konstyanchev!
You're right, WorldAnchor is only supported in the legacy XR system. For the new XR SDK system you would use ARAnchor from UnityEngine.XR.ARFoundation in place of WorldAnchor.
That said Tutorial-Complete has a few more dependencies that will prevent switching to OpenXR. For example it uses MRTK 2.5 but OpenXR support was only added in MRTK 2.7. We have an update to our samples in the works that will switch them over to Unity 2020.3 and XR SDK.
Best regards, Stefan
Hi @konstyanchev!
our latest release contains the sample updates for Tutorial-Complete and Quickstart.
Best regards, Stefan
Hello,
I've tried the latest version of the sample project Tutorial-Complete and I'm running into an error related to the WorldAnchor class. If I understand correctly this class is part of the legacy XR system which is being replaced in favor of the new Open XR system. In the sample project, if you change the build target to Windows UWP you will get a compilation error in the file RemoteLightViewControllerHelper.cs which still references WorldAnchors.
What class should be used instead of WorldAnchors?