Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Dec 8, 2022, between 7 am & 7 pm EST, in the DOTS Dev Blitz Day 2022 - Q&A forum, Discord, and Unity3D Subreddit to learn more about DOTS directly from the Unity Developers.
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Is IPv6 supported?

Discussion in 'Unity Transport' started by ZingZang2020, Sep 30, 2022.

  1. ZingZang2020

    ZingZang2020

    Joined:
    Dec 11, 2020
    Posts:
    58
    Does the unity transform (Netcode for gameobjects) support ipv6 connections, or is it just limited to ipv4?
    Thanks in advance!
     
  2. simon-lemay-unity

    simon-lemay-unity

    Unity Technologies

    Joined:
    Jul 19, 2021
    Posts:
    150
    Netcode for GameObjects itself doesn't really care whether connections are made over IPv4 or IPv6. This is more something that will vary depending on the transport in use.

    The default transport (UnityTransport) doesn't support IPv6 yet, even though its underlying library (com.unity.transport) does. I believe we just haven't gotten around to enabling this yet. I'll check what's going on with that feature.

    In the meantime, you can look at the community-developed transports to see if any of them supports IPv6.
     
    ZingZang2020 likes this.
  3. simon-lemay-unity

    simon-lemay-unity

    Unity Technologies

    Joined:
    Jul 19, 2021
    Posts:
    150
    Just a small update: IPv6 support has landed in UnityTransport and will be available in the next release.
     
    ZingZang2020 and Jes28 like this.
  4. ZingZang2020

    ZingZang2020

    Joined:
    Dec 11, 2020
    Posts:
    58
    Thank you for your reply, nice to hear that IPv6 will be supported soon on the Unity Transform! Will be helpfull for testing with port forwarding on networks that only support public IPv6 addresses.
     
    Last edited: Oct 7, 2022