Open
Description
Describe the bug
To be able to process the current camera image, I am trying to access the WebCamTexture.
This works fine while not in AR, but as soon as I switch to AR, WebCamTexture can no longer access the same camera device.
To Reproduce
Steps to reproduce the behavior:
- Add a quad with an attached PlayWebcam script to the WebXRInteractionToolkit scene
- Make sure the quad is visible for the main camera
- Build the app for WebGL and load it on an Android phone in Chrome
- The webcam should render fine on the placed quad until
- The moment AR is toggled on, the quad texture is no longer updated while the background shows the camera image
Expected behavior
It would be nice if there was a way to still access the camera texture while it is being used as background for the AR view
Unity info (please complete the following information):
- Editor version: 2022.3.17
- WebXR package version: 0.22
- WebXR Interactions version: 0.22
- Git or OpenUPM: OpenUPM
- Using old components (like the Desert sample) or Input System + XR Interaction Toolkit: Most recent version
- Built-in render pipeline or URP: URP
Smartphone (please complete the following information):
- Device: Pixel 6
- OS: Android 12
- Browser: Chrome
Metadata
Metadata
Assignees
Labels
No labels