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

GameObject.FindGameObjectsWithTag does not seems to be working #398

Closed brunoshine closed 3 months ago

brunoshine commented 4 years ago

Hi,

On one of the projects we use GameObject.FindGameObjectsWithTag to locate GameObjects and make changes to them. Running inside Unity the scripts using this method work. But whenever we export to webGL using WebXR, this stop working and we get a "did not find game objects with tag [tag_name]" log on the browser.

any thoughts on this? Thanks Bruno

De-Panther commented 4 years ago

Were they the default (like "MainCamera") or custom tags?

brunoshine commented 4 years ago

Hi, I'm using custom tags.