#Vector3 SyncVar throwing serialization error

4 messages · Page 1 of 1 (latest)

agile token
#

I've talked with Mr.Gadget a lot in the help channel about this, but i decided to create this to avoid filling up the help channel.

I have a script that has a Vector3 syncvar that throws a size mismatch error. I tested it with a float and a bool on the same gameobject and am getting a size mismatch error as well. I was able to confirm i can sync C>S on a different simpler player object. I'm not sure what could cause this.

Script: https://pastie.io/swfyyg.cs

agile token
#

this is "technically" working now..... i moved the script to the top in the inspector and it's working........... 🤷‍♂️. All modification of things in that script are from within. nothing is messing without. Its a standalone process

cyan steeple
#

Are you adding scripts / components at runtime?

#

Are there no other exception or errors before the size mismatch message in the console?