- Home /
Sync new meshes created in runtime networking
Hello , I have made simply 2D game game were player can eventually create , edit meshes and then fight with opponent (basically there will be time for both/many to create and i want to let the opponents see what other player/players are making). Since a player creates a new mesh it dont gets sync . Sry for bad english. I went through few posts but i dont found any answer but still if you found then comment me .
@Fattie : I want to publish it on windows to participate in the competition.Hope you could help me to this sir.
does this help to get you going
I tried that already and even though NetworkView is Obsolete. It throws an exception that $$anonymous$$eshData class is not serialized so added few things on my own ,
[System.Serializable]
public class $$anonymous$$eshData {
public string name ;
[SerializeField]
public Vector3[] vertices ;
[SerializeField]
public Vector2[] uvs ;
public int[] triangles ;
}
Then it throws exception as Vector3 is not serialized , i already used [SerializeField] , maybe i am doing something wrong .Would be better if you correct it out .
And it would be more better if theres other solution since unity NetworkView is obsolete i worried it will cause other things later .
Your answer
Follow this Question
Related Questions
ClientRpc Won't Execute 0 Answers
How to create a plow of fields ? 0 Answers
Sync animation between multiple gameobjects on trigger 1 Answer