Skip to content

Log attachment is missing in case of native crashes on Android #243

Open
@kisg

Description

@kisg

How do you use Sentry?

Sentry SaaS

Sentry SDK version

0.6.1

How did you install the SDK?

Built from source

Godot version

v4.5 beta 2

Which platform?

Android

How to reproduce

To reproduce:

* Open the sentry godot demo app on Android

  • Press the Crash button
  • Observe the event recorded in Sentry is missing the godot log files

Note:

  • We tested this problem extensively in our own custom version which works with LibGodot based on v4.4.1 as well (https://github.com/migeran/libgodot_project)
  • The problem seems to be in the sentry-android SDK, which does not record attachments in case of native crashes. We even tested registering attachments directly with sentry-android to test this.
  • If we force a crash in Java (throw new RuntimeException somewhere), then the log file attachment works.

Expected result

  • Godot Log files should be attached

Actual result

  • An event was recorded, but log files were not attached

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingGodot

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions