I am getting an error while trying to setup Unity for HoloLens 2 Development, specifically, error CS0103: The name 'NonNativeKeyboard' does not exist in the current context

Aswad Tariq 0 Reputation points
2024-03-17T01:52:29.5766667+00:00

I am getting the following error message while trying to setup Unity for Microsoft HoloLens development:
Library\PackageCache\org.mixedrealitytoolkit.uxcore@45c07beda63c\Experimental\NonNativeKeyboard\TMPInputFieldNonNativeKeyboardTrigger.cs(67,42): error CS0103: The name 'NonNativeKeyboard' does not exist in the current context

This happens after I try to import any MRTK3 assets using the MixedRealityFeatureTool, how can I fix this?

I am currently using Unity v 2023.3.20f1, I have also tried on versions (2023.1.17f1, 2023.1.10f1 and 2021.3.27.f1), using Visual studio 2022 for the first 3 versions of Unity and Visual studio 2019 for the last one. Operating system is Windows 11.

Thanks

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.
380 questions
{count} votes

1 answer

Sort by: Most helpful
  1. L Salty 0 Reputation points
    2024-03-20T13:58:13.5266667+00:00

    DO NOT INSTALL MRTK Foundation in MR Feature tool .

    I have solved the same problem refering to : https://learn.microsoft.com/en-us/answers/questions/1464909/nonnativekeyboard-could-not-be-found

    0 comments No comments