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.

Unity Multiplayer NetworkView.RPC deprecated

Discussion in 'Multiplayer' started by Wenamun, Jun 18, 2015.

  1. Wenamun

    Wenamun

    Joined:
    Jan 9, 2015
    Posts:
    14
    As excited as I am for the new uNet features, it comes at a bad time for my project. I've been developing a multiplayer game for about a year now and I'm approaching my launch date, when suddenly I find all the RPCalls I've written have been deprecated. My game still functions just fine (although now I get over 300 warnings I never got before) but my fear is how long will these deprecated functions be supported. I can't afford to scrap all my network code and start again with the new uNet methodology. Please reassure me that I'll be able to register my game with the master server and send RPCs for the foreseeable future.
    Thank you!
     
  2. Carpe-Denius

    Carpe-Denius

    Joined:
    May 17, 2013
    Posts:
    842
    You can just stick with the unity version you are using now and only take the minor updates.
     
  3. Wenamun

    Wenamun

    Joined:
    Jan 9, 2015
    Posts:
    14
    Thank you Carpe for trying to calm my fears, but I'm experiencing other Unity bugs in my project that I am hoping will be addressed before I launch (see some other threads I'm active in.) I need to keep updating my version of Unity in the hopes that those issues will be fixed. Can a representative from Unity give me a timeline for the support of deprecated networking features?
    Thanks!
     
  4. KelsoMRK

    KelsoMRK

    Joined:
    Jul 18, 2010
    Posts:
    5,539
    Read the release notes of each version. If it says "Removed NetworkView.RPC" then don't upgrade to that version.

    I don't see any threads you've posted in that reference bugs in Unity itself.
     
  5. larus

    larus

    Unity Technologies

    Joined:
    Oct 12, 2007
    Posts:
    277
    We don't have any set date for the removal at this point, it's certain though that it will not be removed in the next release, 5.2. I would not expect this to be pulled abruptly because of cases like yours.

    You can keep using it in the releases where it's available of course (but can't upgrade after we remove), as for the servers we are running for the old system, there is no set date for pulling them down either so I can't say when that will happen. However, please be aware they are only meant for testing/development purposes and not for actual releases, no guarantees are made about uptime, response times etc.
     
  6. Funforge

    Funforge

    Joined:
    Jun 18, 2015
    Posts:
    9
    Thanks for this information Iarus. I'll stick with my actual Networkview.RPC then, even if I feel dirty when I see Warnings! lol
     
  7. hippocoder

    hippocoder

    Digital Ape Moderator

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    It's not at all sudden if you read release notes or blog, Unity's been vocal about UNet replacing the old system for a while.

    My recommendation is if you're so close to shipping, just upgrade to unet in a later patch when you've the luxury of testing time :)
     
  8. Wenamun

    Wenamun

    Joined:
    Jan 9, 2015
    Posts:
    14
    Thank you Iarus, that helps :)