GetMesh() causing crash on clients

I have a function which calls the GetMesh on all clients.

The client is owned by a playercontroller. But when the GetMesh() is called, the game crashes. Any reason why its happening?

--------------------------------Solved---------------------

OwningPawn was invalid on clients but it was still calling the function to the pawn without any errors.