Apple now requires iOS apps to support pure IPv6 connections.
We tested PUN v1.75 and it supports IPv6, including the "Best Region" setting.
If you use the Photon Cloud, you only have to make sure your PUN version is up to date.
If you run a Photon Server, you need to use a recent 4.x server.
Test All Builds
Unity's support for IPv6 begins with 5.3.4p4
. They posted about adding IPv6 support.
Several versions of Unity do not successfully support IPv6, so you should test each build.
If you get a client-side error like this, your client needs an update;
Connect() to 'x.x.x.x' failed: System.Net.Sockets.SocketException: Network is unreachable in a IPv6 network.
Read "Test for IPv6 DNS64/NAT64 Compatibility Regularly
" to learn how to test IPv6 support easily.
We do this for PUN before release.
Make sure there is not some other plugin failing!
We know that some apps got rejected, despite using PUN v1.75 or newer.
If your app gets rejected, please get in touch with the Apple review team. Point out that you're using PUN and that we and you both tested the networkcode versus their own test procedures.
Explicitly point to their own test-description page
If the iOS application is successful in working across the macOS NAT64 test environment, then the next step is to submit a bug report.
We ask developers to use the Apple Developer Bug Report web page - http://bugreport.apple.com
to submit the bug report. The bug report is to indicate that there is some compatibility issue between the app and the App Review test environment. In the bug report, the developer provides evidence that the iOS application worked successfully across the macOS NAT64 test environment by including a packet trace to show the success of the connection process.
Note that the bug report is not an indication as to where the problem lies, but the fact that the iOS app works in the test environment and not in App Review is an indication that the app / App Review interaction needs further review. Once the bug report is submitted, there issue is then assigned to investigation by an App Review group. Once a bug report is assigned to App Review, the next thing is to follow up with the bug report by communication with App Review - “firstname.lastname@example.org”. While the email inquiries may not always get a response - all of the correspondence is viewed.
Cloud and Server
The Photon Cloud can not provide public IPv6 addresses in the short term. However, Apple's requirement is only that clients can cope with IPv6 addresses in their network, if that provides "IP translation", as described in their article
For anyone using Photon Server (OnPremise), this means, you can likely continue to run it as IPv4 service.
If you want to setup a true IPv6 server
, we have some docs for that.
Get Photon Unity Networking in the Asset Store.