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

Add LowMemory notification to breadcrumbs

Open vaind opened this issue 3 years ago • 1 comments

Maybe it would be helpful to diagnose some events if you could see that previously a low-memory notification came (https://docs.unity3d.com/ScriptReference/Application-lowMemory.html).

  • we could add this automatically to breadcrumbs. If we're doing so, we should ensure we only add it once (or once for a given period of time).
  • alternatively, we could just remember this in the event processor and set the extra info of the last low-memory event time when an error occurs - this wouldn't work for native though, and that's probably where this is most useful.

vaind avatar May 23 '22 07:05 vaind

Let's have a look at how it's done on sentry-cocoa/java (breadcrumb or event)

vaind avatar May 31 '22 15:05 vaind