MozillaReality / unity-webxr-export

INACTIVE - Assets for creating WebXR-enabled Unity3D projects.
https://mixedreality.mozilla.org/unity-webxr-export/Build/
Apache License 2.0
627 stars 127 forks source link

cannot read property 'transform' of null #433

Closed soldier24 closed 3 years ago

soldier24 commented 3 years ago

Hello, I am trying to get webvr working for my project. I have imported the package and put it in my project and exported it so that I can access it in oculus browser. (with the webxr export template) However when I start it I get to see the game in the browser of Oculus, when I press the VR button I see nothing. When I briefly turn my VR glasses off and on, I see the following error message.

cannot read property 'transform' of null

I think its somewhere in a javascript file that makes VR possible in supported browsers. Because of this I cannot make a VR experience in unity for web browsers while I would like to try it. I am using the latest version that is available in the unity asset store I make my project in unity 2019.4.14f1 on windows 10

soldier24 commented 3 years ago

The problem is solved. 😉

Akila-ITGit commented 3 years ago

How the problem was solved. Me too facing the same error @soldier24