Search Issue Tracker
Fixed in 5.3.9
Votes
0
Found in
5.3.5p7
Issue ID
813396
Regression
No
[iOS] Using device camera on iOS 10 causes the application to be terminated
Steps to reproduce:
1) Open the attached project.
2) Build and deploy to an iOS 10 device.
The build crashes instantly, an error message appears in the Xcode console:
'This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSCameraUsageDescription key with a string value explaining to the user how the app uses this data.'
Comments (32)
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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
bsgbryan
Sep 13, 2016 09:59
My game cannot be submitted to the app store because of this error - except that my game does not use the camera, does not request access, and at no point have I ever checked any boxes saying my game needs access to the phone's camera.
This is a bug in Unity.
CMHatch
Aug 09, 2016 04:40
You simply have to select the top most item on the left column (the main project) in Xcode. Then in the top menu that appears, select "info". You will see a long list of pre-existing .plist items. Hover over the last one and you will see a "+" and a "-" icon appear. Click the "+" and go down the resulting list until you see "privacy-Camera...". Add this item to by clicking it inside that list. Upon doing so, your game/app should build out to iOS 10 without a hitch.