UpdateNetSyncVariableInt takes float parameters when it should take int parameters.
In entityai.c
proto native void UpdateNetSyncVariableInt(string variableName, float minValue = 0, float maxValue = 0); proto native void RegisterNetSyncVariableInt(string variableName, int minValue = 0, int maxValue = 0);