Use Matchmaking with fake users (same Auth token)

Hello all.

I would like to implement some kind of stress test to calculate and test the servers (regions, rooms, number of CPU cores used, etc…) with fake users.

I don’t have enough test-users, and the game is not finished yet to launch an open-beta or something similar. So I would like to create as many users as I need (for example, 10 instances of the same binary on the same computer).

But, matchmaking needs the auth token, and my computer gives me the same token for all the instances, so, the fake user goes to a new room. ¿Any ideas on how to deal with this?

Regards

You can try what is described here: ParrelSync compatibility fix no longer working .

The flow could look like:

  1. Create a headless client that can take an argument on launch which sets their profile name
  2. Before you do the Auth
var profileOptions = new InitializationOptions();
profileOptions.SetProfile(profileName);
await UnityServices.InitializeAsync(profileOptions);
  1. Do the anonymous login
  2. Go into matchmaking

Thank you! I