SyncList Material[] or Mesh [] - even possible?
I found this on my search for an answer: http://answers.unity3d.com/questions/1122411/synclist-to.html
But he used the Network Writer/Reader to get his on SyncListVector3 working, since there is an option of reading Vector3. But i didn't find anything for Meshes or Materials in the API http://docs.unity3d.com/ScriptReference/Networking.NetworkReader.html
But i'm also totally new to 3d as well as unity and maybe i'm just missing something? Is there an easier way of getting my own SyncList of Type Material or Mesh? Do i have to get a Workaround?
I have a player prefab and want to assign different meshes or materials on starting as a new player, depending on the number of players already on the server. But right now i only change the meshes and materials on the clients, so they get different ones but they aren't synchronized with the other players (they only see the unchanged prefab beside their own changed player).
Did a workaround, or maybe an better solution with creating different prefabs and rotating them in the OnServerAddPlayer() method. But would be still curious, if my earlier approach would be possible somehow.
Nope, i solved it as i wrote in a prefab workaround thats working fine. Didn't check further on that synclist idea.
Your answer
![](https://koobas.hobune.stream/wayback/20220612083615im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Network Soccer Ball Position jitter, sending transform position late? 0 Answers
UNET AssetID 0000 zero 0 Answers
PLS recommend plugins for networking/sever which ONLY work for authentication + storing player info. 0 Answers
Couldn't delete cache in UnityWebRequest 0 Answers
how to spawn a player prefab on a server 0 Answers