# Child Actor Components with a period in the name and that are set will cause a server error that causes all clients and server to spawn in a different game

**URL:** <https://forums.unrealengine.com/t/child-actor-components-with-a-period-in-the-name-and-that-are-set-will-cause-a-server-error-that-causes-all-clients-and-server-to-spawn-in-a-different-game/374244>\
**Category:** C++\
**Tags:** unreal-engine, bug-report, UE4, Blueprint, question\
**Created:** [October 23, 2016, 8:25pm UTC](https://forums.unrealengine.com/t/child-actor-components-with-a-period-in-the-name-and-that-are-set-will-cause-a-server-error-that-causes-all-clients-and-server-to-spawn-in-a-different-game/374244 "2016-10-23T20:25:07Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_fb541838](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fb541838](https://forums.unrealengine.com/u/anonymous_user_fb541838)\
**Post date:** [October 23, 2016, 8:25pm UTC](https://forums.unrealengine.com/t/child-actor-components-with-a-period-in-the-name-and-that-are-set-will-cause-a-server-error-that-causes-all-clients-and-server-to-spawn-in-a-different-game/374244/1 "2016-10-23T20:25:07Z")

</div>

This error occurs when using a server (Listen or Dedicated). If you add a period in the Child Actor Component’s name (eg ChildActor.t), then when running on a server, each player is set in a different game where they cannot interact. This only occurs if an actual actor is defined in the ChildActorComponent (if left “None,” then this error does not occur). I have replicated this error multiple times on a clean build of 4.13.1. I have not checked other engine versions. I did check other components (eg StaticMesh and SkeletalMesh), but this problem seems to occur only for ChildActorComponents.

 ![112180-theproblem.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/8/3/78393c84b9f25f794280b7fb46e7b4f71e2ff998.jpeg)

 ![112192-child+actor_works.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/2/c/82cfada75dcc60abdb4395693a0186404f184c02.jpeg)

 ![112195-child+actor_doesnotwork.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/0/2/e02b249cf1f7d9516c2270a2a9917da8ae3671c3.jpeg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_61b4a355](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_61b4a355](https://forums.unrealengine.com/u/anonymous_user_61b4a355)\
**Post date:** [October 24, 2016, 5:25pm UTC](https://forums.unrealengine.com/t/child-actor-components-with-a-period-in-the-name-and-that-are-set-will-cause-a-server-error-that-causes-all-clients-and-server-to-spawn-in-a-different-game/374244/2 "2016-10-24T17:25:47Z")

</div>

Hey Killmaster,

I made a 4.13.1 project and setup the same thing as what you’ve shown. Like:

 ![112266-512564_childt.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/1/2/8123d216b90a6dccf0524f80305f1833c007a173.jpeg)

I am able to see both characters running, in both a listen and dedicated server, with their ChildActor.t components. The Characters aren’t hidden from each other and everything appears normal.

Can you explain more?

Thanks.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fb541838](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fb541838](https://forums.unrealengine.com/u/anonymous_user_fb541838)\
**Post date:** [October 26, 2016, 5:46pm UTC](https://forums.unrealengine.com/t/child-actor-components-with-a-period-in-the-name-and-that-are-set-will-cause-a-server-error-that-causes-all-clients-and-server-to-spawn-in-a-different-game/374244/3 "2016-10-26T17:46:19Z")

</div>

Hey, thank you so much for your reply, and I’m sorry for not getting back to this sooner.  
I’m still having the same problem on my project, so I have absolutely no idea why it’s working properly for you and not for me… As I said, I opened a brand new project, so it should be the same. Would it be possible to send you the project so you can take a look? I have Dropbox, if you’d like me to share that way.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_61b4a355](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_61b4a355](https://forums.unrealengine.com/u/anonymous_user_61b4a355)\
**Post date:** [October 28, 2016, 1:41pm UTC](https://forums.unrealengine.com/t/child-actor-components-with-a-period-in-the-name-and-that-are-set-will-cause-a-server-error-that-causes-all-clients-and-server-to-spawn-in-a-different-game/374244/4 "2016-10-28T13:41:15Z")

</div>

This isn’t something we normally do. It’s generally up to you to show us how to reproduce the issue you are having but because I have this project already made, I will attach it.

[][1]

But again, do not expect this sort of thing every question.

[1]:

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fb541838](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fb541838](https://forums.unrealengine.com/u/anonymous_user_fb541838)\
**Post date:** [October 29, 2016, 2:27am UTC](https://forums.unrealengine.com/t/child-actor-components-with-a-period-in-the-name-and-that-are-set-will-cause-a-server-error-that-causes-all-clients-and-server-to-spawn-in-a-different-game/374244/5 "2016-10-29T02:27:03Z")

</div>

Hey,

Thank you so much for doing that. I understand that I shouldn’t expect it in the future. But thank you for going the extra mile to help solve this problem!

I found out how to replicate the effect. In the Class Defaults of the BP used for the ChildActorComponent, turn on both the “Replicates” and “Replicate Movement” flags (see image below). This should properly replicate the problem described above. Again, it only occurs when the ChildActorComponent has a period in the name.

When the game first starts, you can briefly see the other characters spawn but then quickly disappear.

 ![112890-ue4_problem_childactorcomponentreplication.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/e/1/be142a5c1c8476e825b210ab12aa4dc48f28e93b.jpeg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_61b4a355](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_61b4a355](https://forums.unrealengine.com/u/anonymous_user_61b4a355)\
**Post date:** [November 1, 2016, 7:04pm UTC](https://forums.unrealengine.com/t/child-actor-components-with-a-period-in-the-name-and-that-are-set-will-cause-a-server-error-that-causes-all-clients-and-server-to-spawn-in-a-different-game/374244/6 "2016-11-01T19:04:08Z")

</div>

Hey Killmaster,

Thanks for the report. I was able to reproduce the issue you have described and have entered a issue report for it. You can follow it here:

[https://issues.unrealengine.com/issue/UE-38077](https://issues.unrealengine.com/issue/UE-38077)

For now, I would recommend simply not using “.r” (or any variant) at the end of your ChildActor component, which seems to alleviate all issues you are describing.
