Net Serializing Warnings on Non-Replicated Components

I finally got the time to dig into the cause of the warnings and thought I would share my findings in case anyone else is receiving these warnings and wondering why.

By the way, the referred thread was not related to my issue: .

The warnings for the StaticMeshComponent and DrawFrustumComponent were being generated by the replication of the CameraComponent that is attached to my game character. This is a subclassed camera component that replicates transform info so remotes can track other player’s heads (VR game).

These warnings were generated by the initial replication of the AttachedComponents array for the CameraComponent. Since these components are not set to replicate, as the engine is serializing the array, it sees that these components do not replicate, generates the warnings, and just serializes null for the elements in the array, as it should.

For the default CameraComponent, these attached components are only created when compiled with WITH_EDITORONLY_DATA, so the warnings will only be present in those builds.

3 Likes