Search Issue Tracker

In Progress

Fix In Review for 2022.3.X



Found in






Issue ID




[Android] Webcam doesn't render when the app is launched for the first time on Android



Reproduction steps:
1. Open the attached project “WebcamProject“
2. Build and run the Project on Android
3. Allow camera access on the device
4. Observe the camera rendering
5. Close and re-launch the app
6. Observe the camera rendering

Expected result: The camera renders at the first app launch
Actual result: The camera renders on the second launch of the app

Reproducible with: 2022.3.3f1, 2023.1.2f1, 2023.2.0a23
Not Reproducible with: 2021.3.28f1

Reproducible with these devices:
VLNQA00518 - Google Pixel 4 (Pixel 4), CPU: Snapdragon 855 SM8150, GPU: Adreno 640, OS: 12
VLNQA00414 - Galaxy Note10+ 5G (SM-N976V), CPU: Snapdragon 855 SM8150, GPU: Adreno 640, OS: 9
VLNQA00278 - Xiaomi Redmi Note 7 (Redmi Note 7), CPU: Snapdragon 660, GPU: Adreno 512, OS: 9.0.0
VLNQA00139 - Vivo Xplay6 (vivo Xplay6), CPU: Snapdragon 820 MSM8996, GPU: Adreno 530, OS: 7.1.1
VLNQA00132 - Xiaomi Mi 5s (MI 5s), CPU: Snapdragon 820 MSM8996, GPU: Adreno 530, OS: 6.0.1

Tested with: macOS(Intel) 13.4

  1. Resolution Note:

    We have updated the unity documentation to show how to use the permission API to grant the camera access before using a WebcamTexure and have added a warning message if the developer doesn't do that: "WebCamTexture on Android requires camera permission. Use the Permission API (Permission.RequestUserPermission) to properly handle the permission request result before creating a WebCamTexture object.".

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.