Search Issue Tracker

Fixed

Fixed in 1.1.0-com.unity.microsoft.gdk

Votes

0

Found in [Package]

1.0.0-com.unity.microsoft.gdk

Issue ID

CONSOLE-293

Regression

No

[Game Core] The Player crashes after SDK.XBL.XblSocialManagerCreateSocialUserGroupFromFilters is called

Package: Microsoft GDK

-

Reproduction steps:
1. Open the attached “GdkUpmXboxTest.zip“ project
2. Open the Build Settings (File > Build Settings…)
3. Make sure that the “Game Core - Xbox Series” platform is selected and “SignIn” Scene is added to the Scene List
4. Make sure that Build Type is set to “Development player” and Deploy Method is set to “Push”
5. Build And Run
6. Make sure that "9:[Log] SUCCESS: XUserGetGamertag() returned: '<yourTestUser'sGamerTag>'“ green log text is displayed in the Player
7. Press “A” controller button and observe the Player

Expected result: Nothing of note happens
Actual result: Several logs appear and the Player crashes

Reproducible with: 2021.3.39f1, 2022.3.32f1, 6000.0.5f1

Testing environment: Windows 11 Pro, Game Core - Xbox Series and Game Core - Xbox One Players
Not reproduced on: Windows Standalone Player (by user)
Couldn’t reproduce on: PS5 and Nintendo Switch Players (Due to build errors)

Notes:
- Logs that appear before the crash:
”10: [Log]: SDK.XBL.XblSocialManagerAddLocalUser called - result: ()
11: [Log]: XblSocialManagerDoWork event: LocalUserAdded HR:
12: [Log]: SDK.XBL.XblSocialManagerAddLocalUser called - result: ()
13: [Log]: XblSocialManagerDoWork event: SocialUserGroupLoaded HR:”
- User reported that issue appears when SDK.XBL.XblSocialManagerCreateSocialUserGroupFromFilters is called and console crashes with heap corruption:
"Unhandled exception at 0x00007FF94F5A4B65 (ntdll.dll) in GdkUpmXboxTest.exe.844.dmp: 0xC0000374: A heap has been corrupted (parameters: 0x00007FF94F634110)."
- User reported that calling SDK.XBL.XblSocialManagerGetLocalUsers after SDK.XBL.XblSocialManagerAddLocalUser caused a crash with heap corruption detected in ntdll.dll file as well

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.