Hello everybody,
I would like to ask, if is possible sync via TNet MeshRenderer or MeshCollider. I tried the component AutoSync and choose paramatr MeshCollider.mesh and MeshRenderer.material for first test. There is one little problem the MeshRenderer is procedural generated in gameplay, and I would like to sync to all players.
Is this possible via Tnet ? When I try it I get some errors about seralization...
UnityEngine.Debug:LogError(Object) TNet.Serialization:ReadObject(BinaryReader, Object, Int32, Type, Boolean) (at Assets/TNet/Client/TNSerializer.cs:1419)
(and the texture is pink withnout collider)
When I tried MeshCollider.sharedMesh MeshRenderer.sharedMatrial there is no error but nothing change.
Thank you for any tips or advice.