After initiating a local test with 2 clients, the second client returns 0 for game.GameId. If you initialize a third client while the test is running, the game.GameId returns correctly. It is consistently reproducable under these instructions.
This is a headache for testing and it appears to have rolled out with the most recent studio update.
No beta features are enabled. This has been reproduced on Windows 10 and Windows 11.
In order for us to be able to review your issue, please update your topic following these guidelines: How to post a Bug Report
Hey OP - closing this out. Thanks so much for the report. Would you mind posting again with a bit more info? Details on system, screenshots, anything necessary. See above.
Edit: opening back up! Sorry about that.
Hi, Staff here, providing more clear repo!
- Open up Roblox Studio
- Create a new game
- Publish it
- Click on “Start server” with “2 players”
- Check game.GameId by using a print statement
print(game.GameId) in each window
- Click on “start server” on the server with 1player selected to get a 3rd client.
- Check the print statement
Note: This is my interpretation from the above post here.