Get different UserId while Testing on local server

Hi Everyone, I have a dictionary, and the key is the Player.UserId. I’m using this to store the player thumbnail. I want to test on a local server to see what happens when a player leaves the game. The problem I have is that on the Local Server, it always uses my Player, and of course, both have the same UserId.

Any ideas on how to overcome that problem?
Thank you!

On a local server with a 2 player tests the IDs start counting up from 1. So you’ll have a 1 and 2 for the user Ids which you can add to your dictionary

oh you are right, I had an issue and assumed it was because of that, but never printed the actual value, it’s -1 and -2.

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.