Search Issue Tracker
Fixed in 2017.1.X
Votes
2
Found in
5.5.1f1
Issue ID
877837
Regression
Yes
[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
DUT(reproducible):
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)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Desoxi
Feb 10, 2017 08:07
Also reproducible on 5.5.0p4