Search Unity

Networking API is depreciated however I can not seem to find what replaces it.

Discussion in 'Scripting' started by JoathrentStudios, Feb 17, 2019.

  1. JoathrentStudios

    JoathrentStudios

    Joined:
    Jan 27, 2018
    Posts:
    23
    I admit that I am new to unity networking however there seems to be no indication in the API documentation or in the Unity editor what replaces this "deprecated" API.

    Is it depreciated with no replacement (seems unlikely), if not is it a secret API? If not secret would it be okay to state "deprecated, please see xyz replacement" instead of having no pointers.

    Anyone know what the latest networking API is?

    Thank you.
     
  2. JoathrentStudios

    JoathrentStudios

    Joined:
    Jan 27, 2018
    Posts:
    23
    Looks like they did deprecate the entire network API without a replacement. Oh my, I know this is convenient for you from a support perspective (you can say see all this time we gave you) by shortening the horizon of support by claiming date of original notification... but... shouldn't have you something ready to move to before you say something is obsolete?

    This is not a very developer friendly move.
     
  3. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    21,150
    Below is the community fork of Unet. I recommend checking it out if you're already using or are familiar with Unet as it is a drop-in replacement with improvements and bug fixes.

    https://forum.unity.com/threads/mirror-networking-for-unity-unet-replacement.425437/
    https://github.com/vis2k/Mirror

    That said the sample kit below is where the current official networking system is at. Just be aware it's built around the hybrid mode of Unity's ECS (Entity Component System) and won't be a simple drop-in replacement.

    https://unity.com/fps-sample
    https://github.com/Unity-Technologies/FPSSample
     
    Last edited: Feb 17, 2019