Search Unity

NetworkTransport.GetCurrentOutgoingMessageAmount(); <- documentation wrong?

Discussion in 'Multiplayer' started by ZalmakiZ, Nov 19, 2015.

  1. ZalmakiZ

    ZalmakiZ

    Joined:
    May 20, 2015
    Posts:
    9
    Hey, i wanted to use "NetworkTransport.GetCurrentOutgoingMessageAmount();" to find out how many messages are pending to send, to skip not so important messages in some cases, to make sure that i have enough ressources free for the important stuff.

    the documentation sais:

    Return total message amount waiting for sending.

    http://docs.unity3d.com/ScriptRefer...ransport.GetCurrentOutgoingMessageAmount.html

    but it seems to be just a counter how many messages has been send (?).
    in all my tests this number is just increasing with every message.

    i even added a debug.log to the Presentation 10 sample, to make sure my tests are not just bad, and there its the same, its just counting up.
    So is the documentation wrong/outdated? Or am i just missunderstanding it?

    is it anyhow else possible to find out how many messages are waiting for being send?

    greetings
     
    chrismarch likes this.
  2. MaLlorente

    MaLlorente

    Joined:
    May 27, 2013
    Posts:
    5
    Same problem here. Some one knows how to manage net stress?
     
  3. Alabatross

    Alabatross

    Joined:
    Dec 15, 2012
    Posts:
    223
    Any word on this?
     
  4. gintautass

    gintautass

    QA Minion Unity Technologies

    Joined:
    Oct 27, 2015
    Posts:
    46
    Could you make a bug report and reply with case number?
    Also, if you could attach a repro project that would be amazing!
     
  5. ZalmakiZ

    ZalmakiZ

    Joined:
    May 20, 2015
    Posts:
    9
    Has someone made a bug report yet? otherwise i would do that then.
    As repo project we could just refer to the Presentation 10 sample (the one with the spaceships).
    just debug.log the amount to see that it is just increasing
     
  6. gintautass

    gintautass

    QA Minion Unity Technologies

    Joined:
    Oct 27, 2015
    Posts:
    46
    Just do it! Don't let your reports be unreported! JUST DO IT! ;)