Search Issue Tracker

Fixed in 2020.1.X

Votes

2

Found in

2020.1.0a3

Issue ID

1182388

Regression

Yes

[OSX][Standalone] When "Camera Usage Description" is left empty, using webcam causes crash on Player launch.

MacOS

-

Due to new security update, the standalone player needs to ask permission when using webcam. However, if the user fails to fill the "Camera Usage Description" field, the Player will crash at the moment the webcam is started and needs to ask for permission.

Repro:
1. Download attached project
2. Build Player and run
3. Observe
4. Go to Project Settings -> Player -> Other Settings -> Configuration -> type in anything in "Camera Usage Description"
5. Build Player and run again

Expected: Instead of crashing, the Player give a warning about the missing settings, or fill in a default string to prevent crashing.

Note: Using mic needs the same permission, but failing to fill in the option for mic does not result in crashing. The mic simply doesn't work.

  1. Resolution Note (fix version 2020.1):

    New 2020.1+ builds will require the descriptions be set if relevant APIs are used. If descriptions are not set, the build will fail.

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.