Search Unity

Unity New Feature: Exclusion Filtering for Crashes and Exceptions

Discussion in 'Unity Cloud Diagnostics' started by StaceyH, Jun 11, 2019.

  1. StaceyH

    StaceyH

    Unity Technologies

    Joined:
    Apr 11, 2018
    Posts:
    44
    We’ve released new filtering functionality for the Crashes and Exceptions feature of Cloud Diagnostics. With this release, you can now specify parameters to exclude in your search query. We’ve also redesigned the filter UI to have a much cleaner experience, giving you the ability to expand/collapse the filter section to save space and easily delete individual parameters, which are now located in the chips section at the top:

    tag.gif

    If you find that you don’t like your newly added parameters, you can reset to the last completed search via the Cancel button:

    cancel.gif
     
  2. MigrantP

    MigrantP

    Joined:
    Jun 24, 2013
    Posts:
    39
    Is it possible to set your default filters somewhere? I never want to see editor crashes & exceptions in here, but my filter resets every time I visit the page.
     
  3. tim_lol

    tim_lol

    Joined:
    Jul 25, 2018
    Posts:
    14
    Is it possible to add custom filters?
     
  4. ryanc-unity

    ryanc-unity

    Unity Technologies

    Joined:
    Mar 23, 2016
    Posts:
    1,317
    Hi @MigrantP, we do not support default filters at this time. I understand that it's a hassle to reconfigure them each time you visit the page and we'll look into ways to improve this experience.

    Hi @tim_lol, at the moment custom filters beyond what is available in the dropdowns is not supported. Can you give examples of what types of custom filters you'd like to see or use so that I can pass them along to the dev team?
     
  5. tim_lol

    tim_lol

    Joined:
    Jul 25, 2018
    Posts:
    14
    I just now found out that we can set custom metadata that we can use in the filters which serves my purpose. :) ` UnityEngine.CrashReportHandler.CrashReportHandler.SetUserMetadata`
     
    ryanc-unity likes this.
  6. tim_lol

    tim_lol

    Joined:
    Jul 25, 2018
    Posts:
    14
    Hey @ryanc-unity this is great for crashes/exceptions within Unity, but is there a way to get visibility on failures to load the engine in WebGL? For example, I want to get a report of a timeout on slow chromebooks, or out of memory wasm error on iOS 13.0, or any other reason for failure to load the wasm, along with the device info we get with the in-unity reports.
     
  7. ryanc-unity

    ryanc-unity

    Unity Technologies

    Joined:
    Mar 23, 2016
    Posts:
    1,317
    Hi Tim, unfortunately our crash/exception reports wouldn't help with detecting those specific issues. If you can detect via callbacks when those out of memory or loading errors happen then you could try using the User Reporting service to send custom reports and get relevant device info that way.
     
  8. tim_lol

    tim_lol

    Joined:
    Jul 25, 2018
    Posts:
    14
    How would that work if the engine isn't even loaded? Is there something I can do in javascript? Also, how can I catch errors that happen from the UnityLoader.js, which is where it seems those errors come from with the wasm instantiation? I'd rather not manually edit that file since it gets auto-generated on build, and I never know when the auto-generation will change with a Unity update. If I can catch those errors, my company has another error reporting service that I can send it to if we can't use Unity's without the engine.
     
  9. ryanc-unity

    ryanc-unity

    Unity Technologies

    Joined:
    Mar 23, 2016
    Posts:
    1,317
    You're right, the User Reporting service would not help with checking for errors if the engine hasn't been loaded yet. I'm sorry for the misinformation. At this time there isn't a way for Cloud Diagnostics to check for errors in javascript. I'm sorry that I couldn't be of more help.
     
  10. reigota

    reigota

    Joined:
    Mar 23, 2010
    Posts:
    64
    would be nice to be able to SAVE some filters.. :/ .. or get a link with the filter to pass to someone else in the team..