I thought I’d do some research on variable Type sizes before starting to program my Network.
But hell, is it confusing…
What I learned so far: it seems to be platform and language dependant.
I found varying informations about it on Wikipedia,
where a short data type for example, could range from 2 bit to 16 bit…
https://en.wikipedia.org/wiki/Integer_(computer_science)
#1 So does anyone know more about this mysterious voodoo (How can I test it)?
(How many bits does a char, short, int, float, boolean actually use up in Unity 3D, C# ?)
#2 Does it even work this way ?
Or doesnt it make any difference at all to try to send smaller data Types over Unet
(e.g. ushort instead of int, ect…) ?
#3 Does it differ from target platform to target platform ?
What if a Linux user joins a Windows users lobby ?
Could a programming god descent from his heavenly realm and clear things up for a nooby ?
Thanks !