emscripten-webxr icon indicating copy to clipboard operation
emscripten-webxr copied to clipboard

Module.ctx.makeXRCompatible error

Open shiliupingGitHub opened this issue 5 years ago • 5 comments

when using sdl_createrender ,Module.ctx.makeXRCompatible will throw a error , how to fix it

shiliupingGitHub avatar Nov 09 '20 12:11 shiliupingGitHub

Hi @shiliupingGitHub !

What error is being thrown?

Best, Jonathan

Squareys avatar Nov 17 '20 13:11 Squareys

user abort a request

shiliupingGitHub avatar Nov 17 '20 14:11 shiliupingGitHub

Does your Browser support WebXR?

Squareys avatar Nov 17 '20 14:11 Squareys

emm I remember that . when use firefox reality . error is '' webxrlayer construction ,the webgl context must makeXRCompatible first. when using chrome webxr simulater the error is ''user abort a request''

shiliupingGitHub avatar Nov 17 '20 14:11 shiliupingGitHub

you can test it by using sdl and firefox reality

shiliupingGitHub avatar Nov 17 '20 14:11 shiliupingGitHub