Multiplayer - prefab's material instantiation issue

hey guys,

i am building a multiplayer game. I have a player prefab (represented by a cube for now) and an array of possible diffuse material colour for it. What I want for each player is to have a different material colour, so that they can recognise each other. I instantiate the player character through Network.Instantiate

The problem I have is that no matter what I do, the player does see his own new material colour, but all the other players are seen with the colour of the original prefab. I have also tried to assign the material to the original prefab before executing Network.Instantiate but I have got no success.

could anyone help me on this?

similar to this is this other issue: the player’s hierarchy sees his own player character with his proper name (something like “P_xx”), but sees all the other players as “Prefab (clone)”. Any ideas on how to have each client knowing the name of each other player?

cheers,
Corrado

you need to send an RPC call to all players that you change your color and let them update the concerning gameobject in there scenes.
also you need to send an int or string since Color is not supported by RPC.

thanks a lot!