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. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    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:
    400
    laurensmithstudio likes this.