Search Unity

  1. Dismiss Notice
  2. Looking for a job or to hire someone for a project? Check out the re-opened job forums.
    Dismiss Notice
  3. Unity wants to learn about your experiences working on a Unity project today. We'd like to hear from you via this survey.
    Dismiss Notice
  4. Unity 2020 LTS & Unity 2021.1 have been released.
    Dismiss Notice
  5. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  6. Read here for Unity's latest plans on OpenXR.
    Dismiss Notice

WebXR Exporter Mobile Camera Input Weird (XR not enabled)

Discussion in 'EditorXR' started by laurensmithstudio, May 18, 2020.

  1. laurensmithstudio

    laurensmithstudio

    Joined:
    Feb 11, 2017
    Posts:
    2
    When I build the WebXR Exporter Sample Scene, the touch input on mobile isn't working correctly. Perhaps the way the sample camera script calculates the new vector 3 position doesn't work for mobile input? I was hoping to use the WebXR Exporter to make an app that could be enjoyed on mobile even if the viewer didn't want to enable the immersive XR functionality.

    Here is screen record of the input seen in my webXR api emulator, though the same thing happens on an actual mobile device: https://www.loom.com/share/cc909d571e3541409dab747549f9a575

    Is this simply a mobile compatibility issue or am I meant to include a separate script for touch input?

    Thanks!
     
  2. amirebrahimi_unity

    amirebrahimi_unity

    Unity Technologies

    Joined:
    Aug 12, 2015
    Posts:
    376
    laurensmithstudio likes this.
unityunity