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
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
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.