Search Issue Tracker

Fixed

Fixed in 2022.3.18f1

Votes

6

Found in

2022.3.15f1

Issue ID

UUM-58286

Regression

Yes

[Android] WebCamTexture feed is black when using it on an older OS version device

--

-

Reproduction steps:
1. Open the user’s attached “WebCamTextureTest” project
2. Build and run the Player (File > Build And Run)
3. Grant access to the Camera
4. Observe the Player

Expected result: The WebCam feed is visible
Actual result: The WebCam feed is black

Reproducible with: 2022.3.15f1, 2023.1.6f1
Not reproducible with: 2021.3.33f1, 2023.2.3f1, 2023.3.0a17
Fixed in: 2023.1.7f1

Reproducible with these devices:
VLNQA00057, Htc One M9+ (HTC_M9pw), Android 6.0, CPU: MediaTek Helio X10 MT6795T, GPU: PowerVR Rogue G6200

Not reproducible with these devices:
VLNQA00175, Samsung Galaxy Note9 (SM-N960F), Android 10, CPU: Exynos 9 (9810), GPU: Mali-G72
VLNQA00519, Google Pixel 4 (Pixel 4), Android 12, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
VLNQA00146, Htc 10 (HTC 10), Android 7.0, CPU: Snapdragon 820 MSM8996, GPU: Adreno (TM) 530
VLNQA00372, Samsung SM-G991U (SM-G991U), Android 12, CPU: Snapdragon 888, GPU: Adreno (TM) 660
iPhone 12 mini (iOS 14.1)
iPad Air 4th Gen (iOS 15.2.1)

Reproducible environment: macOS Sonoma 14.1.2 (intel), Windows 11 (user’s)
Not reproducible environment: No other environment tested

Note: Could not test the macOS Standalone platform (multiple build errors from the user’s script)

Comments (2)

  1. Javier-Lingo

    Dec 22, 2023 11:18

    This is blocking us from updating to 2022.3 LTS series. Please backport it to LTS as soon as possible.

    It seems the fix was identified back in summer but only fixed in 2023.1 series, not on LTS?

    For us in 2022.3 up to the recent .16, the camera is nonfunctional and showing black textures in all Androids we have tried including modern ones. On some devices, the camera live view works but when we try to capture via GetPixels() it fails. In other devices, it's always black all the time, in both live view and with GetPixels().

  2. unity_MNb_4NI-f32XPQ

    Dec 22, 2023 11:02

    Please this error is a critical merge to 2021.3.XX as soon as posible please.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.