Multiple Clients with one player controller

When I have, for example, two clients, (selected using the PIE)
And then I get all player controllers of a class it only shows that I have one.

No matter how many clients, it only shows one player controller. Why is this?

Are you checking from the server or from the client? If you are checking from the client you will only see that client’s player controller. You should be able to get all player controllers from the server.

Turns out I was trying to call the clients before they had logged in.

Instead of on begin play, I am executing the function under “OnLogin”