How to reproduce:
1. Create a new project
2. Create a gameobject and add a script component
3. Inside the script, use the following code:
void Start()
{
StartCoroutine(MicPerms());
}
// Update is called once per frame
void Update()
{
}
IEnumerator MicPerms()
{
yield return Application.RequestUserAuthorization(UserAuthorization.Microphone);
}
4. Add Microphone usage description under Player Settings for iOS
5. Build and run the application on iOS
Expected result: permission for Microphone usage is prompted
Actual result: permission for Microphone usage is not prompted
Reproducible with: 2020.3.48f1, 2021.3.28f1, 2022.3.4f1, 2023.1.3f1, 2023.2.0a23