Skip to content

Don't attach screenshots on events coming from the same frame #1827

Closed

Description

@bruno-garcia

When Attach Screenshot is enabled, Sentry will attach a screenshot to all events. At firs this is the wanted behavior.
The problem comes from when an error happens on every frame. Resulting in lots of events with screenshots of basically the same game view.

Some ideas on how to improve this:
We should consider not attaching a screenshot if the UI didn't change from the previous error (e.g: same frame). Or perhaps if the timeframe between errors is to short.

Note:

Activity

  1. bitsandfoxes commented on Oct 8, 2024

    @bitsandfoxes
    Contributor

    Depends on #745

    I imagine we could have the screenshots be added by some sort of processor that keeps track of when a screenshot was taken last and skip if it's too early.

  2. bitsandfoxes commented on Oct 21, 2024

    @bitsandfoxes
    Contributor

    Side note: If we slow it down enough we might have something like a session replay! Not really.

  3. added
    Improvement
    and removed on Apr 16, 2025
  4. bitsandfoxes commented on Nov 6, 2025

    @bitsandfoxes
    Contributor

    Resolved with #2240

  5. moved this from Todo to Done in GDXon Nov 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Improvement

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions