sprite sheet not animating over the network

Hi,

I have a simple network multiplayer 2d game which uses direct connection to connect between client and server. The Player1 is instantiated in OnServerInitialized() method and the Player2 is instantiated in OnConnectedToServer() method.
The problem is, although both player objects are visible in each machine. – Player1 sprite sheet animation is not occurring on client machine and Player2 sprite sheet animation is not occurring on Server machine… Each machine shows their own instantiated characters sprite sheet animation only.

Any help would be highly appreciated.

Simply I am asking is there a way to update material textures via the network??

nothing is updated over the network unless you specify it to be done so. However you’re changing the sprite sheet, you need to send data relating to what it is that you want updated, be it a new uv position or something else.

Go read the scripting reference to see how to transfer specific data, relating to OnSerializeNetworkView or RPC’s

Thank you!., Will give a try and see :slight_smile: