Search Unity

Performance Reporting Exception Message Length Maximum?

Discussion in 'Unity Cloud Diagnostics' started by TitanUnity, Dec 1, 2017.

  1. TitanUnity

    TitanUnity

    Joined:
    May 15, 2014
    Posts:
    180
    Hi, we're seeing our exception Messages truncated in Performance Reporting. Is there a maximum character limit for the message portion of an exception?
     
  2. TitanUnity

    TitanUnity

    Joined:
    May 15, 2014
    Posts:
    180
    It appears the limit is around 255 characters. This is causing a problem for something like JSON deserialization error where we want to see our complete message to look for problematic characters or syntax, but our custom message gets truncated.
     
  3. thomasn_unity

    thomasn_unity

    Unity Technologies

    Joined:
    Jun 21, 2016
    Posts:
    60
    Hi! You're correct that there's currently a 255 character limit on the exception message, and there is also a 65535 character limit on the stack trace field. However, we're in the testing phase of an update that will remove these limits, so stay tuned.
     
  4. Jilljoy

    Jilljoy

    Joined:
    Mar 3, 2015
    Posts:
    6
    Any updates on the removal of these limits. It would be great for us as we could post the full WebRequest form and view exactly what was sent.

    Thanks :)
     
  5. johng_unity

    johng_unity

    Unity Technologies

    Joined:
    Nov 5, 2015
    Posts:
    158
    @Jilljoy --- The 255 character limit on the exception message no longer exists. However, if your exception message is large it won't necessarily display nicely on the dashboard.