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. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    Dismiss Notice

Question Network Profiler

Discussion in 'Multiplayer Tools' started by MythicalCity, Aug 23, 2016.

  1. MythicalCity

    MythicalCity

    Joined:
    Feb 10, 2011
    Posts:
    414
    Hi, I'm getting some issues using UNet where the client is being disconnected (while using Unet matchmaking) after about a minute. I'm not sure if the game might have too much network traffic going on so I took a look at the network profiler but I can't find any info on what the different stats mean. There's Packets In, msgs out, etc.. but I'm not clear on what the limits are.. how many messages are too many? Is there a way to see how much data is being sent/received in kb?
     
  2. moco2k

    moco2k

    Joined:
    Apr 29, 2015
    Posts:
    294
  3. MythicalCity

    MythicalCity

    Joined:
    Feb 10, 2011
    Posts:
    414
    Interesting, hopefully that will be added.

    I saw somewhere that there is a 4kb limit per second per player for Unet's online multiplayer service, so I'm wondering how people determine if their game is close to that limit or not?
     
  4. moco2k

    moco2k

    Joined:
    Apr 29, 2015
    Posts:
    294
    There are 3rd party tools available to measure network traffic (some examples). But I think they are not that easy to use and I guess results would not exactly match with official unity measures. Personally I cannot say more because I did not had the patience to find out how to properly use such tools. However, I think that some other users in the forum should be more familiar with such kind of tools.

    I've also suggested that bandwidth consumption metrics should be added to the official unity analytics tools here. Feel free to drop a vote on the feature request if you like.
     
    Last edited: Aug 25, 2016
  5. MythicalCity

    MythicalCity

    Joined:
    Feb 10, 2011
    Posts:
    414
    Ok good idea, voted :)

    Any idea what the number of packets and other stats that are listed can be used for?