Search code examples
unity-game-enginehololensmrtk

Unity Gameobject not visible in Hololens 2


I am trying to build a HoloLens 2 app using unity.

I added an 3D object from blender, it works fine with the Remote Holographic app, I can interact with it and move around using the Hololens 2 device. But I am unable to get it in the app, the app build then it shows nothing just an empty scene.

The steps I do to build the app are:

  1. add the MRTK v2 foundation package
  2. file >> build settings >> switch to Universal Windows Platform.
  3. Player setting >> Player >> XR settings >> Virtual Reality support
  4. switch the Target device to Hololens and Architecture to ARM64
  5. add the Open Scenes to build settings.
  6. Mixed Realty Toolkit >> Utilities >> Build Window >> build Appx

I have Unity 2019.4.19f1 and MRTK 2.5.4


Solution

  • I went back to the leacy XR plugin, not the new one. also the architecture should be ARM not ARM64