Search Unity

WebGL and the XR Interaction Toolkit

Discussion in 'General Discussion' started by bruceweir1, Dec 8, 2020.

Thread Status:
Not open for further replies.
  1. bruceweir1

    bruceweir1

    Joined:
    Nov 29, 2017
    Posts:
    15
    I have a Unity application that supports VR (using the XR Interaction Toolkit 0.9.4) and I would like to build a WebGL version. It builds successfully, but when I run it in a browser (Chrome) it crashes on startup with the error:

    "UnityLoader.js:4 missing function: _ZN15XRInputTracking3GetEv
    printErr @ UnityLoader.js:4"

    This looks like a problem with the XRInputTracking method not being included in the build. Does anyone have any suggestions for a fix?
     
  2. hagyuk

    hagyuk

    Joined:
    Dec 13, 2020
    Posts:
    2
    Does this work for MobileVR? Looking to get my Unity application to be viewed from a mobile browser.
    Tutuapp 9Apps Showbox
     
    Last edited: Dec 14, 2020
  3. PeterK-E

    PeterK-E

    Joined:
    Jun 10, 2019
    Posts:
    2
    Getting the same error on WebGL builds.
    UnityLoader.js:4 missing function: _ZN15XRInputTracking3GetEv

    Unity 2019.4.12f1, XR Interaction Toolkit Version 0.10.0-preview.7, Oculus XR Plugin Version 1.6.1.
     
  4. Bentoon

    Bentoon

    Joined:
    Apr 26, 2013
    Posts:
    98
    Any Update?
     
  5. Sebseb_

    Sebseb_

    Joined:
    Feb 23, 2016
    Posts:
    3
  6. Bentoon

    Bentoon

    Joined:
    Apr 26, 2013
    Posts:
    98
  7. Kavithagamer

    Kavithagamer

    Joined:
    Feb 18, 2022
    Posts:
    8
    even i am trying to build the WebGL using XR interaction tool kit
     
Thread Status:
Not open for further replies.