Hi there!
My team is making an app via Unity, and recently we have begun to find a weird issue in which iPhone 13s are unable to access the internet, when specifically on mobile data. Wifi works as expected.
We are unsure if this is something that occurs with the entire iPhone 13 family, or the iPhone 13 Pro family, as we have only been able to test on a Pro and a Pro Max. This doesn't happen on other iPhones that we have tested (includes iPhone 8 Plus and iPhone X).
I have attached logs to this question, but of particular significance is what appears in XCode when the device attempts to access any URL:
2022-04-13 14:56:09.827545+1000 <App-Name>[2414:1052225] Task <0E97FD21-45ED-4E1F-8E31-82A4C60FC64F>.<1> finished with error [-1009] Error Domain=NSURLErrorDomain Code=-1009 "The internet connection appears to be offline." UserInfo={_kCFStreamErrorCodeKey=50, NSUnderlyingError=0x2836bc330 {Error Domain=kCFErrorDomainCFNetwork Code=-1009 "(null)" UserInfo={_NSURLErrorNWPathKey=unsatisfied (Denied over cellular interface), interface: pdp_ip0[lte], ipv4, dns, expensive, _kCFStreamErrorCodeKey=50, _kCFStreamErrorDomainKey=1}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <0E97FD21-45ED-4E1F-8E31-82A4C60FC64F>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
"LocalDataTask <0E97FD21-45ED-4E1F-8E31-82A4C60FC64F>.<1>"
), NSLocalizedDescription=The internet connection appears to be offline., NSErrorFailingURLStringKey=https://graph.facebook.com/v8.0, NSErrorFailingURLKey=https://graph.facebook.com/v8.0, _kCFStreamErrorDomainKey=1}
_NSURLErrorNWPathKey=unsatisfied (Denied over cellular interface)
seems to indicate that there definitely are issues on mobile data specifically.
I have reached out on the Unity forums, but unfortunately have not received a response. In any case, it may be that this is an issue with hardware/operating system and not an issue with Unity.
Thanks for reading, let me know if I can provide more details!