Search code examples
visual-studiounity-game-enginehololensmrtk

I can only have 1 Unity app deployed on HoloLens


I am facing a strange issue where I can only have 1 Unity app deployed on my HoloLens. For example:

First, I create new project called HoloLensFirstProject, import MRTK Foundation and Example, Setting up Unity for HoloLens development, select on of sample scene, build it and deploy it.

Secode, I create new project called HoloLensSecondeProject and do the same.

After deploying the second app, my first deployed app is gone and others app that I have develop before. Only the latest deployed app.

Expected Behavior

Multiple app can be deployed into HoloLens.

Actual Behavior

Only the latest app in installed on HoloLens

Steps to reproduce

  • Create 2 projects with different name
  • Import MRTK Foundation and Sample for both projects
  • Setting up Unity projects for HoloLens development
  • Pick one of sample scene for each projects to be deployed
  • Deploy your first app
  • Deploy you second app

Environment

  • Unity 2018.3.11f1
  • MRTK v2 RC1
  • Visual Studio 2019
  • Latest preview SDK
  • Windows 10 (not insider preview)

Solution

  • It isn't sufficient to change the project name. You also have to change the package name under Project Settings → Player → UWP → Publishing Settings → Packaging → Package name.

    enter image description here