Closed srylain closed 5 years ago
Hey @srylain! Sorry you hit this error; we actually fixed it in the newest SDK release. You can get the latest version—2.5.3—here:
https://dl-game-sdk.discordapp.net/2.5.3/discord_game_sdk.zip
Very nice, thank you.
InvalidCastException: Specified cast is not valid. Discord.LobbyTransaction.get_Methods () (at Assets/DiscordGameSDK/Core.cs:461) Discord.LobbyTransaction.SetCapacity (System.UInt32 capacity) (at Assets/DiscordGameSDK/Core.cs:493)
This is from trying to just set the lobby capacity, although setting other values like the lobby metadata gives the same InvalidCastException results.
return (FFIMethods)MethodsStructure;
This is the line that errors out.