IndexOutOfRangeException: NetworkReader:ReadByte out of range:NetBuf sz:1 pos:1

IndexOutOfRangeException: NetworkReader:ReadByte out of range:NetBuf sz:1 pos:1

I think this is a sync var issue but is there any way to get more useful debug info.

If you use NetworkManager try to set LogLevel to Developer to get more Info

The full message log is useful but unet still needs to have less low level internally triggered exceptions.

Are you adding any NetworkIdentity components at runtime? This may cause a mismatch.
Or are you writing a custom OnSerialize/Deserialize or using NetworkReader/NetworkWriter?
Or using MessageBase?

Some context would help.

How does unet map messages to syncvars, rpc and commands?
Does adding a non NetworkBehaviour components affect it?