Hello all! I’m working on a player banner editor for my game which has a few FixedString64Bytes NetworkVaraibles in order to synchronize Color. I declare them like so:
public NetworkVariable bannerBGColor = new();
and set them the exact same way they are set in the unity netcode documentation:
bannerBGColor.Value = ColorUtility.ToHtmlStringRGBA(_color);
This set works fine the first time its called, it gets replicated over the network flawlessly. However upon subsequent set attempts the below error gets thrown and the variable stops being replicated on clients. It doesn’t matter what the string is or when i do the subsequent sets. ANY help would be really appreciated ^-^ I’ve been bashing my head against this for hours.
The Error: