Why the mini-map designed using UI in Unity is not visible after deployment to Hololens 2?

ky z 0 Reputation points
2024-01-04T08:55:26.75+00:00

User's image

User's image

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.
398 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ying Li - MSFT 1,200 Reputation points Microsoft Vendor
    2024-01-05T07:34:50.09+00:00

    Hello, Welcome to Microsoft Q&A,

    Based on the image you provided, the mini-map is visible in the Unity game panel. However, it didn’t appear in the HoloLens after the application was deployed as you mentioned.

    To make the UI elements work on the HoloLens, you can convert the Unity canvas to MRTK canvas by following these steps:

    1.       Select Canvas object in your scene, then in the Inspector panel for your Canvas, click on "Convert to MRTK Canvas"

    2.       Click on "Add NearInteractionTouchableUnityUI"


    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.