Input Toolkit in MRTK 3

MRC UA 0 Reputation points
2023-12-04T23:27:29.3066667+00:00

Hi,

I tried sharing experience through following the Multi-user Capabilities Tutorial (using Photon with Unity). This tutorial was built based on MRTK 2 and it was all good.

I have an app which is developed based on MRTK 3 and I would love to have the sharing experience included in my app. So, I'm trying to reproduce the photon tutorial with MRTK 3. However, some namespaces in the script can't be found in MRTK 3 and I'm not sure how to "update" them to MRTK 3 version.

For example, InputEventData is included in the Microsoft.MixedReality.Toolkit.Input of MRTK 2, but not sure what the equivalence namespace in MRTK 3 is.

Thanks a lot for your time!

HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
400 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Shiwen Sun - MSFT 0 Reputation points Microsoft Vendor
    2023-12-08T02:57:50.22+00:00

    Hello, Welcome to Microsoft Q&A,

    MRTK 3 is not a new version of MRTK 2. MRTK 3 is a new generation of Mixed Reality Toolkit. Its namespace structure and included APIs are different from MRTK2. For this official tutorial, it currently only works with MRTK 2 and has not been updated for MRTK 3. Currently, there is also no easy way to update a project from MRTK 2 to MRTK 3. If you need the features in this tutorial, you may need to manually rewrite the relevant code yourself with MRTK 3.


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.