No owning connection for actor. Function will not be processed

See this answer from.

In the function that is calling the server, use IsLocallyControlled() first to check if it’s currently controlled.