- Home /
Question by
vilajaume4 · May 26, 2020 at 10:50 AM ·
photononline game
PhotonNetwork.Instantiate spawn a lot of objects,PhotonNetwork instantiates more than maxPlayers are allowed
Hi,
I am programming an online videogame and basically it works like this:
Press button 'Battle'(JoinRandomRoom)
If don't find any room, then create one
Join to that room (1/2)
Wait until someone else join to your room (2/2) and then load the scene and instantiate players
That's the problem. I have two clients (PC, MOBILE) so when I instantiate the players, from PC I can see my character on it's correct side and too many characters on the other client side(should be just one). Nevertheless, from MOBILE I can see just my own character on the correct side but I can't see any other player in the room.
Thanks in advance to anyone who can help!!
Comment