Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question WebXR: Support headset, mobile and desktop?

Discussion in 'VR' started by hyposecant, Apr 24, 2023.

  1. hyposecant

    hyposecant

    Joined:
    Oct 8, 2020
    Posts:
    8
    Is it possible to create an app in Unity and have it support WebXR/controllers on headsets, WebGL/touch on mobile and WebGL/keyboard/mouse on desktop in one app bundle? In Three.js this is fairly straight forward by forking code depending on the platform. I know Unity is not ideal for web because of the large file size but I just want to know if it's an option.