Replicate an instance of Custom blueprint

Hello, I saw that I can send to events that run on server or multicast, variables such as Strings, Integers, and Class references. But I am not able to send an instance of my object.

My object inherits from my parent object class that inherits from the Unreal Object class:

And the parent class inherit from the Unreal base object class:

And this class when I send it to a “run on server” event or “multicast” event, becomes an “Unknown” or “null” variable, this does not happen with a class that inherits from the “Actor” class or is just a primitive value as an Integer or String.

Instance replicated on server:

Class of instance replicated on server (received from “get class method”):

Event properties:

I would like to know how can I get the same behaviour for my class and know a bit more about why and how this happens.

I would appreciate any sort of guidance or idea about how to progress on this, it sounds very interesting to me but for now, I am a bit stuck on this.

Thanks in advance,
Lorenzo

1 Like