Because the component's subobjects are replicated before the component, the content block for the subobject is received before the component has been created on the client. Since this subobject is considered stably named, it cannot be found on the client:
LogNetTraffic: ReadContentBlockHeader: Stably named sub-object not found. Its level may have streamed out. Component: [8]NOT_IN_CACHE.[21]Subobject, Actor: BP_ThirdPersonCharacter_C_0
LogNet: Warning: UActorChannel::ProcessBunch: ReadContentBlockPayload failed to find/create object. RepObj: NULL, Channel: 4
Subsequent updates for the subobject are received and applied as normal, as the component has been created and has also created its default subobject.
This happens when using either ReplicateSubobjects or the registered subobjects list, and this does not seem to have been caused by the change at CL 34560266.
Create a replicated actor component class with a replicated default subobject.
Dynamically spawn an instance of the component on the server.
Observe the component's subobject does not receive any initial changed properties.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-224058 in the post.
0 |
Component | UE - Networking |
---|---|
Affects Versions | 5.5 |
Target Fix | 5.6 |
Created | Sep 11, 2024 |
---|---|
Updated | Sep 12, 2024 |