Search Issue Tracker
By Design
Votes
0
Found in
2018.3.0b2
Issue ID
1083047
Regression
No
[iOS] Application.RequestUserAuthorization doesn't work if you request authorization without using the requested API in C#
Steps to reproduce:
1. Open attached project (webcamrequest.zip)
2. Switch to iOS
3. Build 'SampleScene' and deploy Xcode project to device
4. Notice there is no request to authorize Microphone or WebCam usage even though both of them are requested with Application.RequestUserAuthorization
Notes:
Works correctly if you use the needed API (WebCamTexture or Microphone) somewhere within the build project.
Reproduced with: 2017.4.8f1, 2018.3.0b2
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
- Crash on memcpy when importing lightmaps after GI bake
- NullReferenceException is thrown when creating the TextMeshPro component and entering the Play Mode without importing TMP Essentials
- [Linux] Player crash on Shader::SRPBatcherInfoSetup when opening player build
- [Android] FPS does not match the targeted FPS when it is set with Application.targetFrameRate
- RenderPipelineManager.activeRenderPipelineTypeChanged does not detect changes when changing the Render Pipeline Asset outside of Play Mode
Resolution Note:
Authorization requests can only be done when the corresponding framework is included. We might address this in the future in a new API.