Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Device features and permissions

Explains how Android application permissions work as well as how to request them.
Read time 1 minuteLast updated 12 days ago

For an application to access private data on the device, use device features like an in-built microphone or camera, or generally interact with the device outside of the application sandbox, it must have permission from the device's user.
For more information about permissions on Android devices, see Permissions on Android.

Topic

Description

Android permissions in UnityUnderstand Android permissions and how to work with them in Unity.
Declare permissions for an applicationDeclare which permissions the application requires. An application can only request to use permissions that it declares.
Request runtime permissionsRequest permission to use device features or access private data outside of the application sandbox.