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
- Blank, Light-Themed "Create Node" window becomes visible on the next project open
- UI Elements/Layout inconsistencies in the Particle System component
- The Game view and Scene view fail to render when launching the Editor with a maximized Render Graph Viewer window
- "List is empty" is poorly visible in the "Create Node" window
- [Android] GameObject with a custom shader becomes invisible when deployed with the Vulkan Graphics API
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.