Learn how to work with the Mixed Reality Toolkit (MRTK) from Microsoft using GameDriver
When working with an MRTK project, most aspects of testing will work just like any other form of XR testing, with a few additional setup requirements.
Before utilizing GameDriver's MRTK support, the MRTK package must be obtained and extracted into either the game project's Asset folder or into the GDIO folder in which the GameDriver agent is installed into the project. This archive file can be found inside the GDIO package, under the XR\MRTK\MixedRealityToolkit.ThirdParty directory, called 'prebuilt.zip' and requires extracting. Once this folder is extracted, it can be imported into your project along with the other GameDriver files.
Once imported, inside the MixedRealityToolkit.ThirdParty folder you will see now two folder, prebuilt and src, which contain prefabs and source code respectively which will be used to setup your MRTK project with GameDriver. From the Unity editor, you will want to create a new GDIO profile asset inside the prebuilt\Profiles\GDIOMixedRealityInputSystem folder. This can be done by right clicking inside the folder and selecting Create>Mixed Reality>Toolkit>Profiles>GDIO Input Simulation Profile.
The next part of the setup process involves making changes to the 'MixedRealityToolkit' component, wherever that may be in your scene. While the exact location and configuration may vary depending on how your particular project is set up, the component should look like the following:
Under the 'Input' section of the component, open the dropdown labeled "Input Data Providers" and click "Add Data Provider".
From here you can select 'GDIOSimulationService' as well as configure the platforms you would like to support and other setup options depending on your project's needs.