Description
Description
Hey all, I created this issue last year and it was moved to the Discord GameSDK repository, which has now been archived.
Is Discord moving away from gaming and focusing more on the social side of things?
The Discord GameSDK was last updated in September 2020 (v3.1.0) on the Discord Developers Discord server, and there are still outstanding issues with the game overlay, voice chat and SDK compilation issues.
Steps to Reproduce
Run this code:
var activity = new Activity();
activity.State = "Playing Sector's Edge";
activity.Timestamps.Start = (int)discordStartDate.Subtract(new DateTime(1970, 1, 1)).TotalSeconds;
activity.Party = new ActivityParty()
{
Id = "partyidentifier",
Size =
{
CurrentSize = 4,
MaxSize = 16
}
};
// This line here causes the InvalidPayload error
activity.Secrets = new ActivitySecrets()
{
Match = "match abc",
};
activityManager.UpdateActivity(activity, ActivityCallbackMethod);
Expected Behavior
The Activity payload should be sent successfully and an ok
result returned.
Current Behavior
An InvalidPayload
response is provided. This is because the Activity
struct in the provided game SDK is outdated and does not contain the Privacy
field.
Screenshots/Videos
No response
Client and System Information
Desktop client (not Canary or PTB):
Stable 128323 (5628003)
Host 1.0.9004
Windows 10 64-Bit (10.0.19043)