[bug - blueprints] Event in a child class can't compile because it has no net flags

I’m trying to call a multicast function in my child class, but compiling gives me the error “Error Event Update Clients function’s net flags don’t match parent function’s flags”. I can’t edit the details of the child class event to give it a net flag, so I’m kind of stuck between a rock and a hard place

Yeah. Replicates, replicate movement, and always relevant are all checked on both parent and child.

Hi Gono,

Did you make sure to apply the Network replication flag found in the defaults tab? There should be one located there that you can set.

I have a function that traces in several directions, and for each hit it calls UpdateClients so that my ApplyForce_C will be spawned on all clients. I just did the standard process of new blueprint>my custom class, and just created another one the same way to double check. It has the same problem. Here’s my ugly blueprint mashup.

.

Unfortunately I haven’t been able to reproduce this on my end. How dd you set up your child actor? Further how are you using your custom event? That might be part of what is causing the error to occur.

Hi Gono,

I was able to reproduce this on my end and can confirm that it is a bug. A workaround for now is to simply create another custom event with the same exact name (in this case, update client) as the parent’s and that will allow the child’s event to be fired, replicated, etc. I will enter a bug report and attach this conversation to it to be assessed. Thank you and have a great day!

Thanks for the confirmation, the workaround is simple enough.