{"action":"created","issue":{"url":"https://api.github.com/repos/aframevr/aframe/issues/3672","repository_url":"https://api.github.com/repos/aframevr/aframe","labels_url":"https://api.github.com/repos/aframevr/aframe/issues/3672/labels{/name}","comments_url":"https://api.github.com/repos/aframevr/aframe/issues/3672/comments","events_url":"https://api.github.com/repos/aframevr/aframe/issues/3672/events","html_url":"https://github.com/aframevr/aframe/issues/3672","id":336430726,"node_id":"MDU6SXNzdWUzMzY0MzA3MjY=","number":3672,"title":"A-Frame/three WebXR incompatibility (setPoseTarget)","user":{"login":"mquander","id":428637,"node_id":"MDQ6VXNlcjQyODYzNw==","avatar_url":"https://avatars2.githubusercontent.com/u/428637?v=4","gravatar_id":"","url":"https://api.github.com/users/mquander","html_url":"https://github.com/mquander","followers_url":"https://api.github.com/users/mquander/followers","following_url":"https://api.github.com/users/mquander/following{/other_user}","gists_url":"https://api.github.com/users/mquander/gists{/gist_id}","starred_url":"https://api.github.com/users/mquander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mquander/subscriptions","organizations_url":"https://api.github.com/users/mquander/orgs","repos_url":"https://api.github.com/users/mquander/repos","events_url":"https://api.github.com/users/mquander/events{/privacy}","received_events_url":"https://api.github.com/users/mquander/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-28T00:15:29Z","updated_at":"2018-08-31T12:39:38Z","closed_at":"2018-06-28T00:25:34Z","author_association":"CONTRIBUTOR","body":"three.js r93 includes experimental & incomplete [WebXR support](https://github.com/mrdoob/three.js/pull/13978/files#diff-c0e88b98497597a015ecf238e91ac3a0R292), but it's incompatible with [code in `AScene.setupRenderer`](https://github.com/aframevr/aframe/blob/master/src/core/scene/a-scene.js#L508) that expects `renderer.vr.setPoseTarget` to exist (since `renderer.vr` may be a brand-new `WebXRManager` that doesn't have `setPoseTarget`.) This will throw an exception if it runs in a browser with WebXR support. For example, you can reproduce this problem in desktop Chrome if you turn on \"WebXR Device API\" in chrome://flags and load more or less any A-Frame scene you like.\r\n\r\nIt seems to me that a proper fix would be for three to support `setPoseTarget` on `WebXRManager`, but in the meantime, if we wanted to, we could effectively disable three's WebXR support in A-Frame by manually forcing the `WebGLRenderer` to use a `WebVRManager`.\r\n\r\n- A-Frame Version: 0.8.2 (after [r93 upgrade](https://github.com/aframevr/aframe/pull/3609))\r\n- Platform / Device: Desktop Chrome (WebXR support enabled)\r\n"},"comment":{"url":"https://api.github.com/repos/aframevr/aframe/issues/comments/417651220","html_url":"https://github.com/aframevr/aframe/issues/3672#issuecomment-417651220","issue_url":"https://api.github.com/repos/aframevr/aframe/issues/3672","id":417651220,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzY1MTIyMA==","user":{"login":"arpu","id":14173,"node_id":"MDQ6VXNlcjE0MTcz","avatar_url":"https://avatars3.githubusercontent.com/u/14173?v=4","gravatar_id":"","url":"https://api.github.com/users/arpu","html_url":"https://github.com/arpu","followers_url":"https://api.github.com/users/arpu/followers","following_url":"https://api.github.com/users/arpu/following{/other_user}","gists_url":"https://api.github.com/users/arpu/gists{/gist_id}","starred_url":"https://api.github.com/users/arpu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arpu/subscriptions","organizations_url":"https://api.github.com/users/arpu/orgs","repos_url":"https://api.github.com/users/arpu/repos","events_url":"https://api.github.com/users/arpu/events{/privacy}","received_events_url":"https://api.github.com/users/arpu/received_events","type":"User","site_admin":false},"created_at":"2018-08-31T12:39:38Z","updated_at":"2018-08-31T12:39:38Z","author_association":"CONTRIBUTOR","body":"@ngokevin \r\ni think this should be reopend threejs #r96  works fine with WebXR in google chrome Canary \r\naframe master fails with the setPoseTarget "}}
{"actor":{"display_login":"arpu"}}