Search Unity

The question for mode of 2d and 3d project in unity project based ons hololens.

Discussion in 'Windows Mixed Reality' started by songsongsongsong, May 11, 2019.

  1. songsongsongsong

    songsongsongsong

    Joined:
    Mar 6, 2019
    Posts:
    13
    I am developing a hololens application by unity editor 2019.1.0f2 through windows platform, and there are some questions about the mode of 2d and 3d.
    At first, I created a 3d project and the application is a 3D mode which could show the holograms beyond a window. After I import some packages and delete them, the application becomes a window in front of me.
    I have checked the mode of 2d or 3d in the project settings, it is still 3d mode. But actually, the application is in a plane window.
    how could I switch the application to behave beyond the window?
    thousand thanks
     
    Last edited: May 11, 2019
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    6,188
    In the player settings, under XR settings you need to enable "Virtual Reality Supported" and add "Windows Mixed Reality" as the first item. Also, make sure to sure D3D build type.
     
  3. Lain682

    Lain682

    Joined:
    Dec 1, 2014
    Posts:
    4
    Hi. My apps also launch on 2D. I checked those settings. Any suggestions?
    It works fine in Holographic remote.

    Unity 2019.1.2f1
    3D Templete
    HoloLens RS5

    Thanks.
     
  4. joejo

    joejo

    Unity Technologies

    Joined:
    May 26, 2016
    Posts:
    540
    Do either of you have a small repro project that we can look at to see what is up?
     
  5. Lain682

    Lain682

    Joined:
    Dec 1, 2014
    Posts:
    4
    New project or MRTKv2 cause it after configure recommended settings.
    Honestly, I want the Unity 2019 project working on HoloLens....
     
  6. joejo

    joejo

    Unity Technologies

    Joined:
    May 26, 2016
    Posts:
    540
  7. JasonCostanza

    JasonCostanza

    Unity Technologies

    Joined:
    May 23, 2017
    Posts:
    295
    I have a question also, do you have Holographic Remoting Support enabled under the XR Settings? If so, we have at least one bug around some behavior that affect the way the app launches which aligns to what you're reporting. I would love to see a repro project if you can provide one to us. Much appreciated!
     
  8. Lain682

    Lain682

    Joined:
    Dec 1, 2014
    Posts:
    4
    yes. New empty project also happen.
     
  9. Lain682

    Lain682

    Joined:
    Dec 1, 2014
    Posts:
    4
    Hello. I solved the problem that launch apps on 2D.
    I did these things.
    [1] Update Windows SDK to 10.0.18362.0 (I used Insider Preview before)
    [2] In Player Settings on Unity, XR Settings > Uncheck WSA Holographoc Remoting Suported (You must!)
    It works on Unity 2019.1.2f1
    HoloLens RS5
    Visual Studio 2017

    Thank you.