Why do some actor components lack the "Component Replicates" checkbox?

Hi. I just lost 2 days to a confusing proble:

I have an actor component on an actor.
The parent actor is set to replicate.

the actor component contains a array of strings variable. This variable is set to replicate.

However, it was not replicating, causing my blueprint to fail when executed on a client connected to the server. I was searching for an error elsewhere, since the component had no “Component Replicates” checkbox in the editor.

I assumed it was set to replicate by default, my reasoning being that if Epic would hide the checkbox, it would make sense that the component would replicate by default if the parent actor replicates, and wouldn’t if not.

However, in an extremely frustrating moment of enlightment, I set a “Component should replicate” node to true on the BeginPlay event of the actor component, which fixed the problem I was looking for a solution for 2 days, in a matter of SECONDS. (as you may think, this was extremely frustrating).

I then realised that every other actor component of that parent actor were not replicating either. So I went to add the replication blueprint node to another actor component this parent actor had;

THIS actor component has a VISIBLE “Component Replicates” checkbox.

Does epic explain these changes anywhere?? The only thing that clued me in to this was ONE SINGLE post on the unreal forums from someone complaining their “Should Replicate” checkbox on their actor component was missing from the last engine version, Prompting me to look into if the component was really replicating.

Why do some components have the checkbox, while others don’t?
Why is it hidden in the first place??

Hey Monsieur Redmoth,

Did you convert your project from a previous version?

The reason I ask is because there was a bug entered where component replication was no longer exposed in Actor Component’s, but this has been resolved in 4.14 per this ticket linked below:

What I’m thinking is that maybe the classes you created in a previous version are not showing Component Replicates, but the newly created ones are.

Let me know if that’s the case. Also, try creating an actor component in a clean 4.14 project and see if you have access to the Component Replicates checkbox.

Thanks

Thank you for the answer! IT seems indeed it was this bug. I used a node to set replication as a quick fix, and wouldnt you know it, the next time I launched the engine the checkbox was back. Thank you for the answer :slight_smile: