Some of our users occasionally get messages such as this one in their unity client log:
[SFS - WARN] UserVariablesUpdate: unknown user id = 204655
I'd like to detect this issue and suggest that the user re-launch the application, but it is difficult to reproduce. When this warning is printed does the SFSEvent.USER_VARIABLES_UPDATE event get fired with a null user (Params["user"])?
UserVariablesUpdate: unknown user id
-
- Posts: 6
- Joined: 30 Jan 2017, 23:03
Re: UserVariablesUpdate: unknown user id
Hi,
no the event is not fired if that error occurs because, effectively, not variables where updated.
This error can happen when a User disconnects but some of his previous requests are still in queue to be processed. Typically it's a matter of a few milliseconds and it's due to the asynchronous nature of the communication.
Unless you're seeing this issue very often I would not worry about it. The client is simply discarding an update that is no longer relevant.
Cheers
no the event is not fired if that error occurs because, effectively, not variables where updated.
This error can happen when a User disconnects but some of his previous requests are still in queue to be processed. Typically it's a matter of a few milliseconds and it's due to the asynchronous nature of the communication.
Unless you're seeing this issue very often I would not worry about it. The client is simply discarding an update that is no longer relevant.
Cheers
Who is online
Users browsing this forum: No registered users and 69 guests