Search Issue Tracker

Fixed in 2017.1.X



Found in


Issue ID




[Android] App crashes when trying to play WebCamTexture with denied camera permission



How to reproduce:
1) Open the attached project
2) Build and run on Android device
3) Upon app launch, deny camera permission
4) Click the button in the middle of the screen to start camera
Result: Crash

Reproducible: 5.5.0b11, 5.5.1p3, 5.6.0b7
Not reproducible: 5.4.4p2

LG G5 [LG-H850], Qualcomm Snapdragon 820, Adreno 530, OS 6.0.1
Motorola Moto G (4), Qualcomm Snapdragon 617, Adreno (TM) 405, OS 6.0.1
Samsung Galaxy S 5 Neo [SM-G903F], Samsung Exynos 7 Octa, ARM Mali-T720, OS 6.0.1

On earlier Android OS versions if not requesting authorization to use the webcam Application.RequestUserAuthorization(UserAuthorization.WebCam); Application also crashes, but this might be expected

DUT(not reproducible):
iPhone 6+ (iOS 10.1)

Comments (1)

  1. Desoxi

    Feb 10, 2017 08:07

    Also reproducible on 5.5.0p4

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.