Sign In Register

How can we help you today?

Start a new topic

Unity Integration

Alright so I was trying to make a device authentication thing for Unity but kept getting the same error even though I'm using the exact same code as the docs.


Here's the error: (Attached file)


And the code: https://hastebin.com/igumexezob.cs


Please help..

1 Comment

Edit: The image is too small so here


NullReferenceException: Object reference not set to an instance of an object

GameSparks.Api.Requests.DeviceAuthenticationRequest..ctor ()

GameSparksTest.AuthenticateDevice () (at Assets/GameSparks/GameSparksTest.cs:17)

GameSparksTest.Start () (at Assets/GameSparks/GameSparksTest.cs:12)

Login to post a comment