NetworkManager.maxConnections not working? Why?

Hi I can’t limit the maximum Number of player, is it a bug or am I doing something wrong?

NetworkManager.maxConnections=3

I’m not sure whether you can set maxConnections that way. Checkout the answers here on how to set max connections.

hmm it seems to work but only if you start in server mode, not in host mode