Can't call RPCs from interface

I’m making an online pvp shooter in UE. I added crates that players can loot, spawning a random set of items from a loot table. To loot a crate the player uses a function which calls an interface on the object they’re looking at. This is what the response to an ‘interact’ event looks like (there’s more but im only showing this to keep it simple):


image
For some reason, whenever the ‘interact’ message is sent from the server the crate opens properly, but if it’s sent by the client only thing that happens is the print, none of the rpcs get called. At first i thought it was because of ownership but that makes no sense since an actor should always be able to call rpcs on itself + setting the player as the owner before interacting didnt change anything… Does anyone know how to fix this?

I don’t think that actors have the authority to call server functions. At least when I was figuring out RPCs, I found that I had to channel such actions through player controllers with the actors in question as parameters, not through arbitrary actors.

You need to have an interaction on the Server. Thus the Servers “Authoritative Proxy” is executing the action.