New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 897525 link

Starred by 9 users

Issue metadata

Status: Fixed
Owner:
Closed: Oct 25
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug
Proj-VR
Proj-XR-AR
Proj-XR



Sign in to add a comment

WebXR Camera feed is not showing correctly

Reported by sorsk...@gmail.com, Oct 21

Issue description

Example URL:
https://immersive-web.github.io/webxr-samples/proposals/phone-ar-hit-test.html

Steps to reproduce the problem:
1. Navigate to https://web-education-ar-demo.appspot.com/ or https://immersive-web.github.io/webxr-samples/proposals/phone-ar-hit-test.html
2. Click the button to place the statue or a flower in XR
3. Notice the camera feed wrong. The object can be placed and is tracked.

What is the expected behavior?
The camera feed should be a normal feed.

What went wrong?
I looks like the camera feed is showing 1 pixel spread across the entire canvas. The color reflects the environment. 

Does it occur on multiple sites: Yes

Is it a problem with a plugin? No 

Did this work before? Yes 

Does this work in other browsers? Yes

Chrome version: 72.0.3587.0  Channel: canary
OS Version: 8.0.0
Flash Version: 

Phone used is a Samsung S8
 
2018-10-21_20-52-32.mp4
609 KB View Download
Labels: Needs-triage-Mobile
I'm experiencing the same problem.

Tested on: Pixel 1, Pixel 2.

URLs: https://web-education-ar-demo.appspot.com/ https://codelabs.developers.google.com/codelabs/ar-with-webxr/#6

Both URLs worked before with the exact same phones.
Components: -Blink Blink>WebXR
Labels: -Needs-triage-Mobile
Components: -Blink>WebXR Blink>WebXR>AR
Owner: klausw@chromium.org
Status: Started (was: Unconfirmed)
Looks like this regression was introduced by https://chromium-review.googlesource.com/c/1197225 (r599584), the frame property updates were being applied at the wrong code location, resulting in an incorrect value being cached. Rotating the phone between portrait and landscape results in additional problems.

Working on a fix.
Project Member

Comment 6 by bugdroid1@chromium.org, Oct 23

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/c863ca7f940596f692ac7aa0590d70ab930b3fcd

commit c863ca7f940596f692ac7aa0590d70ab930b3fcd
Author: Klaus Weidner <klausw@chromium.org>
Date: Tue Oct 23 23:09:06 2018

WebXR: Fix incorrect AR frame dimensions

This regressed in https://chromium-review.googlesource.com/c/1197225, the frame
property updates were happening in the wrong code location.

Revert to the original code ordering, and add comments explaining the order
dependency.

BUG= 897525 

Change-Id: If88575c15de7ca3b069771362d4388f1a95aca06
Reviewed-on: https://chromium-review.googlesource.com/c/1297473
Reviewed-by: Bill Orr <billorr@chromium.org>
Commit-Queue: Klaus Weidner <klausw@chromium.org>
Cr-Commit-Position: refs/heads/master@{#602163}
[modify] https://crrev.com/c863ca7f940596f692ac7aa0590d70ab930b3fcd/chrome/browser/android/vr/arcore_device/arcore_gl.cc

Status: Fixed (was: Started)
Should be fixed as of Canary 72.0.3590.0, please let me know if it's still not working for you.
Cc: klausw@chromium.org lincolnfrog@chromium.org johnpallett@chromium.org
Issue 867118 has been merged into this issue.
Issue 898978 has been merged into this issue.

Sign in to add a comment