Replicating object references?

I dont understand why object references refuse to replicate.

It works fine with all other types of data/variables but not object refrences.

its because the UObject class by default doesnt support replication, you can add it in C++ though

ah cool so im just ■■■■■■ nice.

First off you aren’t passing anything to the server or the multicast to replicate. No inputs.

Second Actors do not replicate by reference passing.

What you want to do is spawn the object on the server and have it set to replicate. No multicast needed.


Actor Components require a data driven, build locally process.

Server adds component, then Multicasts to call an event. Said event Adds the component on all others.

1 Like