sentry-unity icon indicating copy to clipboard operation
sentry-unity copied to clipboard

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

Open bruno-garcia opened this issue 1 year ago • 3 comments
trafficstars

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:

bruno-garcia avatar Oct 07 '24 23:10 bruno-garcia