Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Performance reporting and high volumes of exceptions

Discussion in 'Unity Cloud Diagnostics' started by szevvy, May 19, 2017.

  1. szevvy

    szevvy

    Joined:
    Jan 7, 2013
    Posts:
    7
    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:
    60
    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!