When adding replicated subobjects to the registered subobjects list, you can set replication conditions to control how the subobject is considered for replication.
Without Iris enabled, a COND_InitialOnly subobject will only have its initial replicated state sent. However, with Iris enabled, a subobject with this condition does not appear to be replicated to the client at all.
It also seems as though FObjectPoller::PushModelPollObject is still called for the object on every update, despite only needing to replicate its initial state.
With Iris enabled, have the server create a replicated subobject and add it to the owning actor's registered subobject list, setting the replication condition to COND_InitialOnly:
AddReplicatedSubObject(MyTestSubobject, COND_InitialOnly);
Observe the subobject will not exist on the client.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-289553 in the post.
0 |
Component | UE - Networking - Iris |
---|---|
Affects Versions | 5.6 |
Target Fix | 5.7 |
Created | May 23, 2025 |
---|---|
Updated | May 27, 2025 |