Iris does not allow the same object to be added to the ReplicatedSubobjectList of different components belonging to different Actors , while the two Actors have the same owner PlayerController.
This seems like a bug, because the original replication system used to allow it.
For example, there’s a replicable UObjectA
, and we have an ActorA
with a ComponentA
, as well as an ActorB
with a ComponentB.
Both ActorA
and ActorB
has the same Owner PlayerController
.
After calling AddReplicatedSubObject(UObjectA)
in both ComponentA
and ComponentB
, Unreal fails the check at the above part of the code.