My game does not work when using URL in coroutines for Android 9. For lower levels of API it is working fine. Here's my code:
string url = "http://example.com";
void Start()
{
StartCoroutine(AccessURL(url));
}
IEnumerator AccessURL(string uri)
{
using (UnityWebRequest webRequest = UnityWebRequest.Get(uri))
{
yield return webRequest.SendWebRequest();
}
}