Quantcast
Channel: Questions in topic: "clone"
Viewing all articles
Browse latest Browse all 508

Why I have a cloned prefab when spawning gameObjects?

$
0
0
I have a room setting, that each player can join on its time. There are avatars in the room. They didn't have authority so I used the NetworkIdentity.Spawn(gameObject); in the start function. Now, when the server and the client in the same room I have double avatars , as if they multiply! Editor show me that each avatar is cloned. Seriously, why is it happening and how can this be avoided?!

Viewing all articles
Browse latest Browse all 508

Trending Articles



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