Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

[NetCode] Next Release?

Discussion in 'Data Oriented Technology Stack' started by florianhanke, May 7, 2020.

  1. florianhanke

    florianhanke

    Joined:
    Jun 8, 2018
    Posts:
    325
    NetCode had a flurry of releases at the end of last year, then stopping end of February, with release 0.1.0 that depends on Entities 0.6.0.

    Entities is now 5 releases ahead, and some issues with builds are cropping up:
    https://forum.unity.com/threads/bui...gin-about-typemanager-works-in-editor.876484/

    Is there a release coming up soonish or is it a better idea to move back to Entities 0.8.0 (or even 0.6.0)? Thanks in advance!
     
  2. Kender

    Kender

    Joined:
    Nov 16, 2012
    Posts:
    284
    Just came here to make the same thread. NetCode update wanted!
     
    florianhanke likes this.
  3. florianhanke

    florianhanke

    Joined:
    Jun 8, 2018
    Posts:
    325
    I'd be super happy with a new release that just builds on the February code, but working for e.g. Entities 0.9.0. But if it's not happening soon it would be fine too, but good to know :)
     
  4. Kamyker

    Kamyker

    Joined:
    May 14, 2013
    Posts:
    402
    I've asked that few days ago:


    soon
     
    hurrit94, bb8_1, Enzi and 2 others like this.
  5. florianhanke

    florianhanke

    Joined:
    Jun 8, 2018
    Posts:
    325
    Thanks for asking! Glad to hear they were working on development scalability, too. I'll go back to Entities 0.8.0, since soon can mean many things.
     
  6. pocketpair

    pocketpair

    Joined:
    Jul 7, 2015
    Posts:
    65
  7. Kamyker

    Kamyker

    Joined:
    May 14, 2013
    Posts:
    402
    Tbh there should be separate subforum about multiplayer/netcode.

    One more question I have: what will be min required Unity version for next netcode release?​
     
    Kender likes this.
  8. florianhanke

    florianhanke

    Joined:
    Jun 8, 2018
    Posts:
    325
    A NetCode subforum would be very useful, as there are quite a few NetCode specific questions nowadays. (And they aren't always marked as such)
     
  9. JoNax97

    JoNax97

    Joined:
    Feb 4, 2016
    Posts:
    349
    I agree that's time for DOTS in general to have move prominent space in the forums. Parts of it are no longer in preview, it deserves a sub-forum with its own sections.
     
    Kender likes this.
  10. Kender

    Kender

    Joined:
    Nov 16, 2012
    Posts:
    284
    +1 for subforum
     
  11. pocketpair

    pocketpair

    Joined:
    Jul 7, 2015
    Posts:
    65
    +1 for subforum
     
  12. Enzi

    Enzi

    Joined:
    Jan 28, 2013
    Posts:
    387
    +1 for subforum
     
  13. Danila24ru

    Danila24ru

    Joined:
    Sep 21, 2012
    Posts:
    13
    +1 for subforum and +1 for question when next release: spring or summer?
     
    Kender likes this.
  14. Sibz9000

    Sibz9000

    Joined:
    Feb 24, 2018
    Posts:
    149
    +1 for subforum
     
  15. JoNax97

    JoNax97

    Joined:
    Feb 4, 2016
    Posts:
    349
    Paging @UnityMaru can we have a shiny new subforum? :D
     
    bb8_1 and Sibz9000 like this.
  16. iamarugin

    iamarugin

    Joined:
    Dec 17, 2014
    Posts:
    512
    +1 for subforum
     
  17. WAYN_Games

    WAYN_Games

    Joined:
    Mar 16, 2019
    Posts:
    455
    +1 for subforum
     
  18. Kamyker

    Kamyker

    Joined:
    May 14, 2013
    Posts:
    402
    Good to see I'm not the only one waiting for it. Was really weird when netcode was not even mentioned in "Live Games" roadmap and instead there were some niche features like: DeltaDNA, Gametune. :(
     
  19. bb8_1

    bb8_1

    Joined:
    Jan 20, 2019
    Posts:
    31
    +1 for subforum & next release
    what is strange no posts from devs after last available release( i think last post was feb 14 or 22, 2020 not sure cannot find the thread right now) - hope they will continue to work on NetCode >>> maybe it is due to Corona outbreak so they just postponed the project - i hope so
     
    Last edited: May 19, 2020
  20. pocketpair

    pocketpair

    Joined:
    Jul 7, 2015
    Posts:
    65
    bb8_1 likes this.
  21. timjohansson

    timjohansson

    Unity Technologies

    Joined:
    Jul 13, 2016
    Posts:
    235
    We have been focusing on larger tasks lately which is why there has not been any new releases. We are preparing to release a new netcode package with support for pre-spawned objects - meaning you can place ghosts on the client and server and they will be connected and update without going through the normal spawn flow. This release has a dependency on the next entities release so we will try to release netcode as soon as we can after that lands.

    In addition to that we are currently working on an overhaul of the workflows for creating ghosts and generating code, but that change still needs a bit more time and will not be in the next release. This was a change required for two of the game productions we are using to verify that the netcode is production ready.
     
    WAYN_Games, PhilSA, Enzi and 8 others like this.
  22. pocketpair

    pocketpair

    Joined:
    Jul 7, 2015
    Posts:
    65
    @timjohansson
    Thank you for hard work!
    That sounds great but we will release our product(open world sandbox) with DOTS and netcode for more than 4 - 16 players on steam early release within 1 or 2 months. It's a bit late:(
     
    bb8_1 likes this.
  23. optimise

    optimise

    Joined:
    Jan 22, 2014
    Posts:
    598
    How much this breaking change I need to fix when this release lands?
     
  24. Kender

    Kender

    Joined:
    Nov 16, 2012
    Posts:
    284
    Yay! NetCode 0.2.0-preview.5 arrived! Still +1 for a subforum
     
    optimise, bb8_1 and florianhanke like this.
  25. UsmanMemon

    UsmanMemon

    Joined:
    Jan 24, 2020
    Posts:
    55
    +1 for a subforum
     
    JoNax97 and bb8_1 like this.
  26. Enzi

    Enzi

    Joined:
    Jan 28, 2013
    Posts:
    387
    Mods are asleep
     
  27. bb8_1

    bb8_1

    Joined:
    Jan 20, 2019
    Posts:
    31
    Then if there is no subforum : someone should create NetCode discord server
    and invite ppl interested in NetCode(devs too and it would be the best if devs create server imo)?
     
    Last edited: Jun 6, 2020
  28. JoNax97

    JoNax97

    Joined:
    Feb 4, 2016
    Posts:
    349
    It's probable easier to convince the mods at the official discord to add a channel than a subforum
     
    bb8_1 likes this.
  29. GliderGuy

    GliderGuy

    Joined:
    Dec 14, 2018
    Posts:
    103
    Meeeeeehhhhhhhhh...

    +1 for subforum.
     
  30. Kamyker

    Kamyker

    Joined:
    May 14, 2013
    Posts:
    402
  31. PublicEnumE

    PublicEnumE

    Joined:
    Feb 3, 2019
    Posts:
    427
    Does anyone have the new NetCode package working with the latest versions of Entities, HDRP, and HybridRenderer?

    When I install Unity NetCode 0.2.0-preview.5 in my project with the latest versions of those packages, my Entities immediately stop rendering. Some Systems may also not be updating properly - I'm not sure yet.

    This is my for time installing the NetCode package. Is there something obvious happening that I need to account for?

    - - -

    ...I am beginning to suspect that the NetCode package assumes you immediately want to have both a client and server world, and therefore requires your entities to live in the client world to be rendered. My test entity (default sphere with convert component) lives in the default world. Maybe that's why it's not being updated or rendered?
     
    Last edited: Jun 7, 2020
    GliderGuy likes this.
  32. PublicEnumE

    PublicEnumE

    Joined:
    Feb 3, 2019
    Posts:
    427
    Yep, that was it. Using a ConvertToClientServerEntity Component did the trick. I was surprised that installing this package alone has such an effect.
     
    Kender and GliderGuy like this.
unityunity