Open a same project on HL2 & iPad

Bahadır ÇAKAR 21 Reputation points
2022-05-01T10:03:41.74+00:00

Hi there,
I would like to know how can I play a unity project on more than one HL2 device and iPad device in the same time?

Thank you,

HoloLens | Development
{count} votes

1 answer

Sort by: Most helpful
  1. Seth DU - MSFT 541 Reputation points
    2022-05-04T08:50:33.657+00:00

    Hello, welcome to Microsoft Q&A,

    If you want to maintain only one project and this project can be deployed to HoloLens2 and iPad OS, you may follow Billy’s reference about Conditional Compilation feature and adding platform specific codes so that unnecessary codes will be commented when targeting to the other platform.

    While if you simply want iPad to have the same view when the project is running on HoloLens 2, MRC is required to stream the views on HoloLens. To learn more about MRC, please refer to https://learn.microsoft.com/en-us/windows/mixed-reality/develop/advanced-concepts/mixed-reality-capture-overview. In the common scenario, it is required to build a separate app that is implemented with Mixed Reality Streaming HTTP requests.

    ----------

    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.


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.