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

Mobile Input Not Working on WebXR Exporter (XR not enable)

Discussion in 'VR' 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!