IPv6

Concept

The transition to IPv6 is inevitable. Apple no longer accepts submissions to the App Store, if their networking does not work in IPv6 networks (recommended reading). As a result, some developers may become worried. Well don't be, Photon got you covered.

We know that a full switch to IPv6 can take time. That is why Photon Cloud is accessible from IPv4 and IPv6 clients. To use IPv6 with Photon Cloud, please use proper PUN and Unity versions as shown here. If you're hosting your own Photon Server, please visit this page for more instructions.

IPv6 and PUN

ExitGames team has been working hard to make PUN support IPv6 for a wide range of Unity versions for maximum backward compatibility. Here are few notes regarding this:

  • Starting with v1.73, PUN Free and PUN+ support IPv6.
  • Unity supports IPv6 in versions 4.7.2, 5.1.5, 5.2.5, 5.3.4p4, 5.4.0p1 and newer (Unity blog post).
    The 5.4 release has broken IPv6 support.
  • To connect PUN to your own servers, configure a hostname instead of an IP address. When you want (or have to) enter an IPv6 address in the client, make sure to use the proper IPv6 format supported by PUN: [address]:port. The brackets are mandatory for IPv6 addresses in Photon clients.

Testing IPv6 with DNS64/NAT64

We recommend testing on a local environment using the methods proposed by Apple.

You can easily setup a IPv6 WiFi using a Mac.

 To Document Top