Skip to content

Conversation

@konraddysput
Copy link
Collaborator

Why

We discovered a problem with breadcrumb support when we finished the previous session. If the game can't send errors on the next session startup because the game is delayed because of the startup jobs, then we probably won't have a breadcrumb file associated with the report. This diff makes a copy of the existing breadcrumb file on the session startup and replaces the old path to the breadcrumb file with a new one. In addition, this diff also delays possible breadcrumbs that backtrace-unity will store. Because of that, we're sure that we won't override the breadcrumb file before making a copy.

This diff is really similar to the diff that I already submitted while ago. In this diff I only focus on the breadcrumb problem and this diff doesn't touch initialization order - so it will be much safer to land if earlier.

@konraddysput konraddysput added the bug Something isn't working label Jul 4, 2022
@konraddysput konraddysput self-assigned this Jul 4, 2022
@konraddysput konraddysput added this to the 3.7.7 milestone Jul 4, 2022
Copy link
Collaborator

@perf2711 perf2711 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, only small nit.

@konraddysput konraddysput merged commit fc076b0 into master Jul 8, 2022
@konraddysput konraddysput deleted the bugfix/next-session-breadcrumbs-path branch July 13, 2022 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants