Script properties don't transfer for instanciated object

Options
I've got an object that I instantiate at runtime that has some script properties. I've noticed that those properties don't make it to the client. Here's some example code:

   var item = Resources.Load("SomeItem")
   var s = item.GetComponent<MyScript>();
   s.someValue = 10;
   
   BoltNetwork.Instantiate(item);
If I check someValue on the server, it's set to 10. If I check it on the client, it's 0. Is there a way to get those assignments to transfer to the client during instantiation?

Best Answers

Answers