playcanvas / playcanvas/engine

Controllers not appearing in WebXR session via streamed PCVR (Virtual Desktop)

Open
#8,330 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
16.8k
Forks
2k
Avg merge
4h 32m
Merged PRs (30d)
222

Description

PlayCanvas XR input events not firing despite working native WebXR

Environment
Steps to reproduce
  1. Connect Quest 3 to PC using Virtual Desktop
  2. Open the tutorial project in Chrome
  3. Enter XR session — headset tracking works, VR renders correctly
  4. Controllers do not appear in the scene

Expected: Controllers visible and tracked in VR

Actual: VR session starts correctly but controllers never appear

Additional context

Works in: Quest 3 native browser (controllers appear correctly)

Broken in: Chrome on PC via Virtual Desktop

Investigation
  • app.xr.input.on('add', fn) callback never fires
  • Controller position via native WebXR API does work
  • Console shows polyfill errors (unknown if related):
Uncaught TypeError: Cannot set properties of undefined (setting 'WebXRPolyfill')
Uncaught ReferenceError: WebXRPolyfill is not defined
Not yet tested
  • Quest Link (wired/Air Link)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the WebXR Tracked Controllers tutorial with Quest 3 streaming through Virtual Desktop, then inspect the reported WebXR polyfill errors and webxr-polyfill-patch.js. Compare the missing app.xr.input.on('add', fn) event with the working native WebXR controller position. Done means controllers appear and are tracked in the streamed PCVR session without the reported failures.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
ar-vr-xr
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.