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.

Question PUBG-like game by DOTS NetCode?

Discussion in 'NetCode for ECS' started by MetaDOS, Nov 18, 2021.

  1. MetaDOS

    MetaDOS

    Joined:
    Nov 10, 2013
    Posts:
    126
    We plan to work on a PUBG-like game that would release in Q3-2022.
    • Should we use DOTS NetCode for it or pick a safer solution like Photon?
    • When will DOTS NetCode officially release?
    Thanks,
    Anh
     
  2. CMarastoni

    CMarastoni

    Unity Technologies

    Joined:
    Mar 18, 2020
    Posts:
    459
    If you are planning to heavily rely on Entities, the answer is: yes, it is the best choice in term of usability.
    If you are planning to use gameobjects for gameplay, etc etc, then I would suggest to rely on
    NetCode For GameObject or Photon or other similar solutions. That also make it easier to integrate other related services like
    - Voice Chat with vivo
    - Relay
    - Matchmaking

    Note that the above services integration are also possible with NetCode for Entities but they may requires some more works for integrating them.

    For official release data, don't have a specific deadline yet.
     
    desertGhost_ likes this.
  3. optimise

    optimise

    Joined:
    Jan 22, 2014
    Posts:
    1,573
    @CMarastoni From my understanding some other services require latest version of transport package but current dots netcode still depends super old transport version which I think they will not compatible with each other and dots package can't exists together with the other service packages. Will dots netcode upgrade transport package to latest version for the next dots package releases?

    I just want to know can I still get new version of dots netcode before entering 2022?
     
    MetaDOS and desertGhost_ like this.
  4. MetaDOS

    MetaDOS

    Joined:
    Nov 10, 2013
    Posts:
    126
    So it's not safe at all even my release date will be in next Q3.
    Btw, where can I find the Netcode for Entities?
     
    Last edited: Nov 19, 2021
  5. bb8_1

    bb8_1

    Joined:
    Jan 20, 2019
    Posts:
    97
    Last edited: Nov 23, 2021
  6. CMarastoni

    CMarastoni

    Unity Technologies

    Joined:
    Mar 18, 2020
    Posts:
    459
    bb8_1 likes this.
  7. Neto_Kokku

    Neto_Kokku

    Joined:
    Feb 15, 2018
    Posts:
    1,572
    I would recommend using Photon Fusion. Their benchmark is actually a battle royale style game and implements actual client side prediction and reconciliation features, unlike DOTS Netcode and Netcode for GameObjects where tou need to implement those yourself.
     
  8. CMarastoni

    CMarastoni

    Unity Technologies

    Joined:
    Mar 18, 2020
    Posts:
    459
    DOTS NetCode is all about client-side prediction and reconciliation. You don't have do anything custom to implement it, apart writing your gameplay logic inside the prediction. Of course special cases need some handling but that is another story.
     
    Occuros and bb8_1 like this.
  9. Neto_Kokku

    Neto_Kokku

    Joined:
    Feb 15, 2018
    Posts:
    1,572
    I stand corrected then, thanks.
     
    bb8_1 likes this.
  10. optimise

    optimise

    Joined:
    Jan 22, 2014
    Posts:
    1,573
    @CMarastoni How about will latest version of Transport package supports next dots netcode package release?
     
    bb8_1 likes this.