I need to be able to pass a ChildActorComponent reference to the server (using a Custom Event RunOnServer) when clicking on any actor but when a client click on a ChildActorComponent of a different client, it sends a None value instead.
Thanks for the report! I was able to reproduce this in the test project you provided, and I’ve entered a bug report for the issue (UE-23143). It seems the Hit Actor returned for a Child Actor Component is its own Actor, rather than the returning Actor, and this reference is not being communicated to the Server as you would expect a separate Actor reference to do. I will update this post when I see any update on the report. Thanks again!
I would use separate actors, rather than child components, for this. You can then attach them, if necessary.
If you’re committed to using Child Actor Components, you need to make sure the Server knows which of it’s own components to reference. So, for example, you can reference each child actor component with an integer, and use that as an ID. Then you can pass the server the integer and tell it to reference its own child actor component with that integer ID.