Iris does not allow the same object to be added to the different ReplicatedSubobjectLists

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.

https://github.com/EpicGames/UnrealEngine/blob/release/Engine/Source/Runtime/Experimental/Iris/Core/Private/Iris/ReplicationSystem/ObjectReplicationBridge.cpp#L550

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.