Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Unity play mode not rendering to headset

Discussion in 'AR/VR (XR) Discussion' started by Virtinus, May 12, 2020.

  1. Virtinus

    Virtinus

    Joined:
    May 11, 2020
    Posts:
    2
    Hi,
    I'm using the following:
    Unity 2019.3.0f1
    Ubuntu 18.04
    GeForceGTX 1060 6GB
    SteamVR (1.12 beta)
    HTC Vive Pro

    When I run my game in play mode, the input is coupled to the headset (moves around), however the image is not shown in the headset, as if there's no output. My headset keeps showing the default view (a nightly plain, mountains in background). The SteamVR window does say I'm playing "Unity".

    The only thing I've successfully rendered in the headset is the default view and SteamVR Home, so I doubt it's something driver related.

    I've found this thread:
    https://forum.unity.com/threads/unity-play-mode-not-rendering-in-vr-headset.765866/
    But it does not really help. I've restarted and updated a lot, but no success...

    edit:
    Forgot to mention, the view in the headset does show a banner "Unity - next up".
     
    Last edited: May 12, 2020
  2. joejo

    joejo

    Unity Technologies

    Joined:
    May 26, 2016
    Posts:
    958
    Unity does not support Steam VR. You might want to post on the Valve support forums for their Steam VR plugin.
     
  3. Virtinus

    Virtinus

    Joined:
    May 11, 2020
    Posts:
    2
    Thanks for your reply.
    I think my problem has been resolved. Other people had issues with DirectX, but since I'm on ubuntu, DX is not involved. I checked my Vulkan driver install and it was either not installed or not correctly installed.
    I installed Vulkan and checked with
    vulkaninfo | less
    . After this, it rendered to the headset.
     
  4. joejo

    joejo

    Unity Technologies

    Joined:
    May 26, 2016
    Posts:
    958
    Terrific!