Quantcast
Channel: Questions in topic: "online game"
Viewing all articles
Browse latest Browse all 36

PhotonNetwork.Instantiate spawn a lot of objects,PhotonNetwork instantiates more than maxPlayers are allowed

$
0
0
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!!

Viewing all articles
Browse latest Browse all 36

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>