i am trying to build multiplayer project and the problem is with the materials of player .
i am changing material of each player and it worked for all player only the first player causing trouble sometime it shows black while other players material shows correctly .
here is the screenshot
my players color are
1.white
2.blue
3.yellow
It might have to do with the 3D asset not being spawned when you’re trying to change the colour of something that doesn’t exist yet, so it defaults to black. Check if black is the default colour because otherwise, this issue might come down to shaders, not networking.
yeah i thought that might be the case but i don’t know the solution of that can you provide any solution to that
let me write more about problem
i assign that material to my player as default and i am keeping that material same for first player and 2 , 3 and 4 players i am assigning a new material for which i am using array in my game state to store these material
and assigning these material on spawn in player controller
so when i enter on server these materials on player shows correctly but when i quit and enter again it show black for first player and remaining player shows correct material
so if you know how can i solve it please let me know