Fixed truncated session ticket array (#828)

* Modified GetAuthSessionTicket to create array of max size 2560 based on correlating API in `isteamuser.h`. This fixes a bug where the session ticket retrieved is truncated in comparison with SteamWorks for the same API.

Co-authored-by: Jeff Campbell <jeff@zapdot.com>
This commit is contained in:
Jeff Campbell 2025-07-12 02:53:49 -04:00 committed by GitHub
parent aa87fe557f
commit dcfaa86af1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -314,7 +314,7 @@ namespace Steamworks
/// </summary>
public static unsafe AuthTicket GetAuthSessionTicket( NetIdentity identity )
{
var data = Helpers.TakeBuffer( 1024 );
var data = Helpers.TakeBuffer( 2560 );
fixed ( byte* b = data )
{