Players not joining the same room

Options
Hi, I have followed the tutorial for creating rooms specific to number of players limit per room. I have two instances of my project running on Windows (one is running on Unity Editor and the other is Windows PC build)
When I press play the master client joins a random room for 1 but when I run my second instance (build) it should load room for 2 but it doesn't
It's not happenning according to the documentation and I followed each step

Edit: I also have AutomaticSyncScene=true in script which should handle this scenario

Any help would be appreciated