-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
MRTK + Microsoft OpenXR without using Mixed Reality Feature Tool #10870
Comments
This is something we're actively working through! Unity asked us directly not to use scoped registries for distribution of MRTK a couple of years ago (due to some changes they made to their Package Guidelines), which is the reason the Mixed Reality Feature Tool exists. We're looking to have another conversation with them about this soon now that some time has passed and services like OpenUPM have continued to be able to run. |
@merulaxr we're definitely all in the same boat. We're aware Feature Tool is not a great a solution in terms of openness, CI compatibility, or even just simply developer experience. As @keveleigh mentioned above, it's a workaround to avoid problems with the Unity ToS, as using scoped registries for distribution is technically in violation of their ToS. We're actively working on resolving this problem, and we really appreciate your patience :) |
Thank you both for a prompt response, I'm really surprised to hear about the scoped registry issues, as I thought that was the entire point of that feature! I hope the best for future conversations with Unity, especially given OpenUPM as you said, and other major providers in the space like HTC and Ultraleap using scoped registries for their SDK distribution. |
@merulaxr , if the conversation with Unity isn't forthcoming, we are intending on shipping MRFT as a CI-friendly package management tool, so you'd simply just run |
I noticed the registry that's used for https://github.com/microsoft/spatialaudio-unity has the other packages on it, and works perfectly. The non-installed packages don't appear in the package manager, but I was able to deduce what I needed :). I really hope Unity can be on board so you can use that source (or another!) officially. |
I'm happily using the above registry, but has there been any update from conversations with Unity? |
We appreciate your feedback and thank you for reporting this issue. Microsoft Mixed Reality Toolkit version 2 (MRTK2) is currently in limited support. This means that Microsoft is only fixing high priority security issues. Unfortunately, this issue does not meet the necessary priority and will be closed. If you strongly feel that this issue deserves more attention, please open a new issue and explain why it is important. Microsoft recommends that all new HoloLens 2 Unity applications use MRTK3 instead of MRTK2. Please note that MRTK3 was released in August 2023. It features an all-new architecture for developing rich mixed reality experiences and has a minimum requirement of Unity 2021.3 LTS. For more information about MRTK3, please visit https://www.mixedrealitytoolkit.org. Thank you for your continued support of the Mixed Reality Toolkit! |
Describe the problem
I am not a fan of the requirement to download the feature tool from the Microsoft website just to add the packages. I am also not a fan of these packages being local .tgz instead of being hosted elsewhere, as it introduces binary blob changes in version control. These are third party packages I should not have to track any changes on aside from the version number used. The reliance on a Windows executable for installation also limits the cross-platform ability to install packages, for example in a Linux CI situation.
Describe the solution you'd like
A way to obtain both the Windows OpenXR package, and the MRTK packages, without requiring the Mixed Reality feature tool. My preference would be to have them accessible via a scoped registry we can add to our Unity Package Manger, either via OpenUPM or one hosted by Microsoft directly, using something like Verdaccio.
Describe alternatives you've considered
Just have someone add from the Feature Tool on behalf of the project
Including in UPM via Git URLs
Creating a mirror of the packages and manage versioning ourselves
Reverse engineering the Feature Tool to locate package sources, and install them directly
Additional context
This is coming from the context of Open Brush, which is an open source Unity project with a Linux based GitHub actions CI. Please don't introduce barriers for developers wanting to access the project on macOS or Linux.
The text was updated successfully, but these errors were encountered: