Why do we using GetAuthGameMode()?

Why do we using GetAuthGameMode() from UWorld? I have opened a source fuile with description of GetAuthGameMode() method and it says:

* Returns the current Game Mode instance cast to the template type.
* This can only return a valid pointer on the server and may be null if the cast fails. Will always return null on a client.

The last sentence Will always return null on a client.. We are using this method on a client side why then we don’t get a null?

It’s a single player game so the server is also the client.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms