- Home /
Updating a component on a NetworkView game object doesn't update the component on other clients
I'm running into an issue with one of my components.
After creating a prefab via Network.Instantiate, I then update the property on a component. This update shows up on the client that owns the object, but it doesn't seem to go to the other connected client.
Any ideas what might cause this?
Answer by Katalyst · Jun 22, 2012 at 09:57 AM
I'm kinda new to this but I believe you'll need to fire off an RPC to the other client that tells it to update the properties on the component in their game as well.
You are correct, sir. In order to copy the string over to the component, I needed to create an RPC command that did so.
However, for more 'high-speed' updates, OnNetworkSerialized is the better approach. It's more lightweight.
I was just about to post what I found when you posted, so I give you the "answer" award :)
Your answer
![](https://koobas.hobune.stream/wayback/20220613073119im_/https://answers.unity.com/themes/thub/images/avi.jpg)