I’m sure I’ve seen something about this somewhere, but I can’t remember where. Is there a limit to how many variables can be [SyncVar]'d in a single script?
Yes its 32 syncvars.
http://blogs.unity3d.com/2014/05/29/unet-syncvar/
Thanks @karl_jones !
Is this enforced in any way ? i recall (in the beta or initial release) that it would let you define whatever number of SyncVars you want, but failing at runtime ![]()
@karl_jones has there been any new info on the possiblity of adding more syncvars to unet ? Or atleast some easy ways of syncing non important info ?
Thanks
You can use the Message system, or just do like I do and separate SyncVars into different scripts.