Skip to content

Custom Diagnostic Data is not captured in case of ANR or when crash has occured.  #336

Open
@Aksh627

Description

@Aksh627

Describe the bug

I am not able to see the additional data(Custom Diagnostic Data) with a bugsnag report if an ANR is recorded or a crash is recorded. For normal exceptions of type "NullReference" or "ArgumentOutOfRange" exceptions i am able to see the custom diagnostic data.

Steps to reproduce

  1. Integrate bugsnag v5.1.1 in unity project
  2. Now add some custom diagnostic data on some actions to be seen with a bugsnag ANR/crash report
  3. After doing some actions (basically recording some custom diagnostic data) just force a crash or ANR. (For this bugnsag sample unity project on github already has the script to throw ANR/Crash)
  4. Now go to bugsnag dashboard and observer the ANR/Crash data.
  5. There is no custom diagnostic data attached.
  6. Now open the application again and do some actoins (to record custom diagnostic data)
  7. After that just trigger an exception
  8. Now go to bugsnag dashboard and observe that the custom data is recorded.
  9. So it is getting recorded for an exception but not for a crash or ANR.

Environment

  • Bugsnag version: 5.1.1 (unity)
  • Unity version: 2019.4.15f1
  • Android version: 8.1.0, 9, 11
  • simulator/emulator or physical device: Galaxy A11, Lenovo Tab E10
  • Initializing bugsnag via a Unity GameObject or in code?: via Unity GameObject
  • Player Settings:
    • Scripting backend (Mono or IL2CPP): IL2CPP
    • API compatibility level for .NET: .Net Standard 2.0
    • Stack Trace level for all error types (None/ScriptOnly/Full): Script Only

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogWe hope to fix this feature/bug in the futurefeature requestRequest for a new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions