RepLayouts are associated with an Owning Object, which may be a Class, Function, or Struct.
RepLayouts will only be cleaned up when the Owning Object is no longer valid.
RepLayouts hold references to Replicated Properties.
Replicated Properties hold references to Outers.
These Outers are the Owning Objects of RepLayouts.
Therefore, RepLayouts never get cleaned up due to a circular reference.
Expected:
The Blueprint Class would have no references, and would be cleaned up.
Actual:
The Blueprint Class is referenced by an anonymous GCObject (the RepLayout) via its properties.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-70761 in the post.
6 |
Component | UE - Networking |
---|---|
Affects Versions | 4.21, 4.22 |
Target Fix | 5.6 |
Created | Feb 28, 2019 |
---|---|
Resolved | Aug 27, 2021 |
Updated | Oct 25, 2024 |