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?
hagyuk
December 13, 2020, 9:44am
2
Does this work for MobileVR? Looking to get my Unity application to be viewed from a mobile browser.
Tutuapp 9Apps Showbox
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.
Sebseb
June 17, 2021, 1:19pm
5
Hey, I read that Unity doesn’t support XR on WebGL (Unity - Manual: XR )
even i am trying to build the WebGL using XR interaction tool kit