Sign In Register

How can we help you today?

Start a new topic
Answered

When/why of AuthenticatedConnectRequest

So I've got  GameSparksUnity component on a GameObject in scene - have done no logic for authentication as yet (device id, credentials based, etc) and I get some fairly frequent log entries of AuthenticatedConnectRequest and AuthenticatedConnectResponse (seemingly when Unity loses focus and regains it)


AuthenticatedConnectRequest isn't mentioned specifically in the docs...

(https://docs.gamesparks.net/documentation/gamesparks-service-request-api) so I am curious as to what causes this.


Is this expected?  Related to Preview Build?


Thanks in advance!




Best Answer
Hey Jeff,

this is normal behavior and is related to the GS-connect and GS-authenticed.
We first have to open a websocket and connect. in order to do that we authenticate briefly.

Btw, have you tested it in the unity editor using the testUI scene? this might have stored actual auth-details that are being processed automatically too.

Sean

 


1 person has this question

Answer
Hey Jeff,

this is normal behavior and is related to the GS-connect and GS-authenticed.
We first have to open a websocket and connect. in order to do that we authenticate briefly.

Btw, have you tested it in the unity editor using the testUI scene? this might have stored actual auth-details that are being processed automatically too.

Sean

 

Would this brief "authenticate" to open the socket count as a MAU or do we only rack up a chargeable MAU when a player actually creates or logs into their GameSparks account?

Any request or message to/from GameSparks will count towards your MAU, so open opening this socket  and authing a player that will count towards an MAU. The initialization of the socket with no auth would not count.

Login to post a comment