Cannot execute RPC on Server

You can always just use the player controller or its pawn as a bridge from the client to server to get an RPC to run.

Instead of:
AI Pawn (Client) → RPC → AI Pawn (Server)

It would be more like:
AI Pawn (Client) → Local Player Controller (Client) → RPC → Player Controller (Server) → AI Pawn (Server)

2 Likes