Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

When will UNET be available in the PackageManager for 2019?

Discussion in '2019.1 Beta' started by Amir-Ward, Jan 28, 2019.

  1. Amir-Ward

    Amir-Ward

    Joined:
    Jan 26, 2015
    Posts:
    30
    I would really like to get involved with the 2019 alpha especially to test out the new WASM features for WebGL builds but the UNET package is not available yet in PackageManager as stated in the Unity Blogs. When will we see this happening?
     
  2. tertle

    tertle

    Joined:
    Jan 25, 2011
    Posts:
    3,761
  3. ScottyB

    ScottyB

    Joined:
    Apr 4, 2011
    Posts:
    146
    @tertle: Unity has updated their UNET deprecation plan which you can see here: https://forum.unity.com/threads/unet-deprecation-thread.543501/

    Or for easier reading, here is the quote:
     
    Amir-Ward likes this.
  4. tertle

    tertle

    Joined:
    Jan 25, 2011
    Posts:
    3,761
    Ah ok, they delayed it. Good to know not that I use it.
     
  5. chrisk

    chrisk

    Joined:
    Jan 23, 2009
    Posts:
    704
    They thought that the new network library will be good enough to replace Unet when they announced the Unet removal in 2019.1.
    It reads more like the new network stack will be delayed for another 9 months. Very disappointing!
     
  6. larus

    larus

    Unity Technologies

    Joined:
    Oct 12, 2007
    Posts:
    280
    The UNet HLAPI package is not exposed in the package manager UI yet, but you can edit your projects manifest.json file to add it, just add
    "com.unity.multiplayer-hlapi": "0.2.4-preview"
    to the dependencies section. There was a bug in this release which is fixed in 0.2.5-preview, this is not yet published to production but you can grab that by enabling the staging registry, that should look something like this

    {
    "dependencies": {
    "com.unity.multiplayer-hlapi": "0.2.5-preview",
    ... more dependencies ...
    },
    "registry": "https://staging-packages.unity.com"
    }


    The UNet HLAPI in this package is completely independent of the Unity engine code (except for some hook into the Unity Editor profiler), so should keep working in the future.

    The UNet transport will stay until the new transport can replace it and people can migrate to that, then it will be removed.
     
  7. Amir-Ward

    Amir-Ward

    Joined:
    Jan 26, 2015
    Posts:
    30
    Awesome, thank you :]
     
  8. charlesb_rm

    charlesb_rm

    Joined:
    Jan 18, 2017
    Posts:
    485
    The package "Multiplayer HLAPI" should now be visible in the Package Manager UI for easier installation.
     
    Nigey and MadeFromPolygons like this.
  9. throzen

    throzen

    Joined:
    Jun 11, 2015
    Posts:
    6
    Just to be clear, this only applies to 2019.1b, correct ? I was having an issue with UNET after upgrading from 2018.2 to 2018.3 and thought I might as well give it a trywith the package, but it seems these directions do not apply to 2018.3 yet ?! ^^
     
  10. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136
    The HLAPI is still a built in part of 2018.3 and will remain a part through the 2018.4 LTS cycle. The package is for users that need this functionality in 2019.1+, where it is no longer shipped by default.
     
  11. angusmf

    angusmf

    Joined:
    Jan 19, 2015
    Posts:
    261