When using useMultiplayerState, it doesn't accept arrow function when setting state
const [debug, setDebug] = useMultiplayerState('debug',1);
setDebug(debug => debug + 1) // doesn't work