During seamless travel, the engine renames kept actors into the transition/destination level. This process results in the actor's components being unregistered and re-registered. For the ability system component, this will destroy its subobjects, such as its UGameplayAbility subobjects.
If the server receives an RPC from a client on one of these objects, it will not be able to find it, triggering the "ReadContentBlockHeader: Client attempted to create sub-object." error and disconnecting the client.
Create a replicated gameplay ability that calls a server RPC when activated.
From an actor persisted through to the transition level (such as the PlayerState), activate this ability on the client as the server initiates a seamless travel.
The client will be disconnected with the following error: "ReadContentBlockHeader: Client attempted to create sub-object."
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-193041 in the post.
1 |
Component | UE - Gameplay |
---|---|
Affects Versions | 5.4 |
Target Fix | 5.6 |
Created | Aug 15, 2023 |
---|---|
Updated | Sep 30, 2024 |