You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a feature that is really important to be able to handle some tricky bugs. Sometimes the stacktrace is not enough to fix the issue or the stacktrace is really too short like the ones that are sent by release builds when using IL2CPP. Having some context about the state of the game at the time of the crash is always useful in those cases. Would it be possible to implement a callback or an event that is called just before the exception/error is tracked? I implemented it that way in my project:
Hello! Thank you for bringing this up. I checked with the engineering team and it does not look like we offer a native way to record this information during a crash at this point so your solution may work for now. It is excellent feedback however and I have passed it onto the team to look into.
This is a feature that is really important to be able to handle some tricky bugs. Sometimes the stacktrace is not enough to fix the issue or the stacktrace is really too short like the ones that are sent by release builds when using IL2CPP. Having some context about the state of the game at the time of the crash is always useful in those cases. Would it be possible to implement a callback or an event that is called just before the exception/error is tracked? I implemented it that way in my project:
Crashes.cs
And I replaced the calls to CrashesInternal.TrackException() in that file by calls to TrackErrorInternal.
Game.cs
It works fine for my use but maybe there's a better way to integrate it into the SDK. Thanks in advance for the feedback!
The text was updated successfully, but these errors were encountered: