Description

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.

Steps to Reproduce

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.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-224058 in the post.

1
Login to Vote

Unresolved
ComponentUE - Networking
Affects Versions5.5
Target Fix5.6
CreatedSep 11, 2024
UpdatedSep 12, 2024
View Jira Issue