Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove MRKT3 Android's dependency on MR OpenXR Plugin. #11524

Closed
AMollis opened this issue Apr 27, 2023 · 4 comments
Closed

Remove MRKT3 Android's dependency on MR OpenXR Plugin. #11524

AMollis opened this issue Apr 27, 2023 · 4 comments

Comments

@AMollis
Copy link
Member

AMollis commented Apr 27, 2023

This issue has been migrated a new MRTK repository, and the status of this issue will now be tracked at the following location:


Overview

The Mixed Reality OpenXR Plugin v1.8.0 removed support for Android. Andriod is no longer being supported by Microsoft's plug-in. Unfortunately, MRTK3 still relies on the MR OpenXR Plugin for Android Hand Joints.

Fix

Instead of relying on the MR OpenXR Plugin for Android Hand Joints, MRTK3 should use other methods for obtaining hand joints.

@mschult2
Copy link

I think I have a similar problem. But I'm not even building Android w/ OpenXR, I'm building Android w/ ARCore. No MRTK needed for my Android mobile target.

Even so, the mere presence of the MRTK package is causing the build to fail.

Any workarounds?

Library\PackageCache\com.microsoft.mrtk.input@473ce5ad9479\Subsystems\Hands\OpenXRHandsSubsystem.cs(8,30): error CS0234: The type or namespace name 'OpenXR' does not exist in the namespace 'Microsoft.MixedReality' (are you missing an assembly reference?)

@AMollis
Copy link
Member Author

AMollis commented May 10, 2023

@mschult2, before we resolve this issue, you have to downgrade to an earlier version MR Open XR Plugin. Trying switching to v1.7.2

https://github.com/microsoft/OpenXR-Unity-MixedReality-Samples/releases/tag/v1.7.2

Or you can update the MRTKs' assembly metadata files, so they don't build for Android.

@AMollis
Copy link
Member Author

AMollis commented Jun 28, 2023

Open XR v1.8.1 added Android support back. So this is no longer needed

@AMollis AMollis closed this as not planned Won't fix, can't repro, duplicate, stale Jun 28, 2023
@mschult2
Copy link

Great! I’ll upgrade OpenXR 1.8.0 to 1.8.1, then rebuild my MRTK app for Android.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants