At the moment, if you want to use Mixed Reality Toolkit 3 (MRTK 3) for Unity on a Mac, you would have to download the Mixed Reality Feature Tool on a Windows machine to configure the Unity project. However, MRTK is a cross-platform Unity library, so there is no reason why someone using a Mac should have to use a Windows machine just to configure the Unity project with the Mixed Reality Feature Tool.
The Mixed Reality Feature Tool for Mac allows developers to configure Unity projects for MRTK3 by downloading and setting up the necessary components on macOS.
Both CLI (command-line) and GUI (graphical user interface) tools are available, implemented in both C++ and Python versions.
- CMake
brew install wxwidgets
brew install libarchive
To build the C++ version, follow these steps:
git clone https://github.com/stytim/Mixed-Reality-Feature-Tool-For-Mac.git mrfeaturetool
cd mrfeaturetool
mkdir build && cd build
cmake ..
make
To use the C++ version, run in your terminal from the build directory:
./mrtk_cli path-to-your-Unity-project
or use the gui version
./mrtk_gui
Install the required packages using pip:
pip install requests packaging customtkinter
To use the Python version, run in your terminal:
python core_logic.py path-to-your-Unity-project
or use the gui version
python gui_tool.py
The CLI tool will try to retrive the list of the MRTK 3 components. Select the MRTK3 components you want to import by typing the index numbers separated by a space. Press Enter to finish.
The GUI version is simialr to the offical Mixed Reality Feature Tool GUI.
The tool will automatically download the selected components with the latest version, along with their dependencies.
The Mixed Reality Feature Tool for Mac is licensed under the MIT License.