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.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

How to interpret error byte?

Discussion in 'Multiplayer' started by grrosegr, Jul 13, 2015.

  1. grrosegr

    grrosegr

    Joined:
    Nov 18, 2012
    Posts:
    11
  2. aabramychev

    aabramychev

    Unity Technologies

    Joined:
    Jul 17, 2012
    Posts:
    574
  3. grrosegr

    grrosegr

    Joined:
    Nov 18, 2012
    Posts:
    11
    Thanks! Just curious, why return a byte and not just a Networking.NetworkError directly, if the byte is pretty much only useful cast to NetworkError
     
  4. aabramychev

    aabramychev

    Unity Technologies

    Joined:
    Jul 17, 2012
    Posts:
    574
    :) o my god.. You are right. Because I'm stupid coder
     
  5. grrosegr

    grrosegr

    Joined:
    Nov 18, 2012
    Posts:
    11
    Hmm, well the API is public, but you could probably just add overloads that do that right?
     
  6. aabramychev

    aabramychev

    Unity Technologies

    Joined:
    Jul 17, 2012
    Posts:
    574
    will most probably do. Thank you