Skip to content

Fix: Prevent crash when player template is not found in ChallengeMenu#351

Open
seer-by-sentry[bot] wants to merge 1 commit intomainfrom
seer/fix/challenge-menu-player-template-null-check
Open

Fix: Prevent crash when player template is not found in ChallengeMenu#351
seer-by-sentry[bot] wants to merge 1 commit intomainfrom
seer/fix/challenge-menu-player-template-null-check

Conversation

@seer-by-sentry
Copy link

Fixes CLIENT-3R9. The issue was that: Null PlayerTemplate pointer dereferenced when constructing UnicodeString for GameSlot due to missing player template configuration.

  • Added a null check for the playerTemplate retrieved from ThePlayerTemplateStore.
  • If playerTemplate is null, a DEBUG_CRASH is triggered, and the function returns, preventing a potential null dereference.

This fix was generated by Seer in Sentry, triggered automatically. 👁️ Run ID: 10528953

Not quite right? Click here to continue debugging with Seer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants