Sign In Register

How can we help you today?

Start a new topic

Users can't login

I'm following this tutorial -> https://docs.gamesparks.com/tutorials/real-time-services/real-time-matchmaking.html


I'm stuck at the login. I'm getting an error in my GameSparksManager class, at this line:
if (!(bool)regResp.NewPlayer)


Any tips?


below is the error:


System.InvalidOperationException: Nullable object must have a value.

at System.Nullable`1[T].get_Value () [0x00008] in <ac823e2bb42b41bda67924a45a0173c3>:0 

at Checkpoint.GameSparksTools.GameSparksManager+<>c__DisplayClass5_0.<authenticateuser>b__0 (GameSparks.Api.Responses.RegistrationResponse regResp) [0x0002e] in /Users/dayvid/Desktop/Space for Work/78 x 36 Productions/Git/Checkpoint My Git/CheckpointAR-Proto/Assets/_Scripts/Checkpoint/GameSparks/GameSparksManager.cs:63 

at GameSparks.Core.GSTypedRequest`2+<>c__DisplayClass1[IN,OUT].<send>b__0 (GameSparks.Core.GSObject response) [0x00008] in c:\jenkins\workspace\clientsdk-dotnet-rt-tls\GameSparks.Api\Core\GSTypedRequest.cs:118 

at GameSparks.Core.GSRequest+<>c__DisplayClass4.<complete>b__1 () [0x00000] in c:\jenkins\workspace\clientsdk-dotnet-rt-tls\GameSparks.Api\Core\GSRequest.cs:78 

at GameSparks.Platforms.PlatformBase.Update () [0x0008d] in /Users/dayvid/Desktop/Space for Work/78 x 36 Productions/Git/Checkpoint My Git/CheckpointAR-Proto/Assets/GameSparks/Platforms/PlatformBase.cs:290 

UnityEngine.Debug:Log(Object)

GameSparks.Platforms.PlatformBase:Update() (at Assets/GameSparks/Platforms/PlatformBase.cs:295)

1 Comment

Never mind, I hadn't saved my Matches panel. Everything works now.

Login to post a comment