question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unity WebVR Export Support

See original GitHub issue

URL: https://mozilla.github.io/unity-webvr-export/

Ran on: Ubuntu 18.04 Exokit 0.0.452

Got this error when running the Unity WebVR Export demo. https://github.com/mozilla/unity-webvr-export

$ exokit https://mozilla.github.io/unity-webvr-export/Build/
SyntaxError: Unexpected token true
    at Function (<anonymous>)
    at selectorFn (/usr/local/lib/exokit/node_modules/window-selector/selector.js:38:25)
    at Object.matches (/usr/local/lib/exokit/node_modules/window-selector/selector.js:100:18)
    at HTMLElement.matches (/usr/local/lib/exokit/src/DOM.js:832:21)
    at selectors.some.selector (/usr/local/lib/exokit/core.js:1126:60)
    at Array.some (<anonymous>)
    at window.getComputedStyle.el (/usr/local/lib/exokit/core.js:1126:40)
    at n (Build/UnityLoader.js:4:8746)
    at Document.<anonymous> (Build/UnityLoader.js:4:11667)
    at Document.emit (events.js:182:13)
    at Document.EventEmitter.emit (domain.js:442:20)
    at Document._emit (/usr/local/lib/exokit/src/Event.js:56:40)
    at _emit (/usr/local/lib/exokit/src/Event.js:34:14)
    at _recurse (/usr/local/lib/exokit/src/Event.js:42:7)
    at Document.dispatchEvent (/usr/local/lib/exokit/src/Event.js:52:5)
    at process.nextTick (/usr/local/lib/exokit/src/Document.js:163:16)
    at process._tickCallback (internal/process/next_tick.js:68:7)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
avaercommented, Jul 8, 2019

With that fix, Unity exports should be running fine in Exokit:

Capture 31

0reactions
avaercommented, Jul 8, 2019

The errant selector for the above is [data-unity-loaded='true'] #loader

Read more comments on GitHub >

github_iconTop Results From Across the Web

WebXR Exporter | Integration - Unity Asset Store
Use the WebXR Exporter from Mozilla on your next project. Find this integration tool ... Apr 15, 2020. Supported Unity versions. 2019.3.4 or...
Read more >
De-Panther/unity-webxr-export - GitHub
Develop and export WebXR experiences using the Unity Engine. WebXR Export supports both Augmented Reality and Virtual Reality WebXR API immersive sessions.
Read more >
Unity WebXR Exporter Update - Mozilla Mixed Reality Blog
We are happy to release an updated version of our Unity Exporter. It now supports WebXR, the new cross browser API for VR...
Read more >
How to get started with WebXR in Unity - The Ghost Howls
A full and thorough tutorial on how to get started with WebXR VR ... has so decided to develop a WebXR exporter for...
Read more >
Unity → WebVR Exporter
Preview of Unity WebVR-exported project in the browser ... This asset works by utilizing Unity's WebGL platform support and therefore shares the same...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found