Search Unity

  1. Engage, network and learn at Unite Austin 2017, Oct 3 - 5. Get your ticket today!
    Dismiss Notice
  2. Introducing the Unity Essentials Packs! Find out more.
    Dismiss Notice
  3. Check out all the fixes for 5.6 on the patch releases page.
    Dismiss Notice
  4. Unity 2017.1 is now released.
    Dismiss Notice
  5. Unity 2017.2 beta is now available for download.
    Dismiss Notice

Performance reporting and high volumes of exceptions

Discussion in 'Unity Game Performance Reporting Preview' started by szevvy, May 19, 2017.

  1. szevvy

    szevvy

    Joined:
    Jan 7, 2013
    Posts:
    6
    Hi guys,

    We've enabled performance reporting in our app, and in some cases there's an exception on one object being thrown every frame. This means we have large numbers for one particular exception coming in. Will this have a severe adverse impact on users' network traffic or game performance? I'm assuming that a report isn't sent off over the network for every single frame that the exception is thrown, right?

    Thanks!
    Michael
     
  2. thomasn_unity

    thomasn_unity

    Unity Technologies

    Joined:
    Jun 21, 2016
    Posts:
    46
    Hi,

    Assuming that it's the exact same exception message and stack trace, it will be grouped into a two network calls: One for the very first report, and a second sent later with a count of how many additional times that exception happened. If the message or stack trace is different (for example, a timestamp in the exception message), it would result in separate network calls.
     
  3. Prettygreat

    Prettygreat

    Joined:
    May 11, 2015
    Posts:
    1
    Wonderful, thanks!