a NetworkView for Every Obejct?!

Hello Guys,

I’m a bit confused in how to use the NetworkView Component… every time I allocate a new object… I attach a “Networkview” as it follows:

gObj.AddComponent(NetworkView);
gObj.GetComponent(NetworkView).stateSynchronization = NetworkStateSynchronization.ReliableDeltaCompressed;

but … what happens is that every time I call again the function to allocate a new object, the previous object gets back to the original position and the second one as well appears in the same position and the first one. So I wonder, do I need a networkID different for each object?

Thanks.
GC.

yes, you do. Objects with the same network id’s will get sent the same commands that were meant for that id.