# Two actors are spawning in one spawn event

**URL:** <https://forums.unrealengine.com/t/two-actors-are-spawning-in-one-spawn-event/459778>\
**Category:** Blueprint\
**Tags:** actor-blueprint, spawn-rate, unreal-engine, Blueprint, question\
**Created:** [December 21, 2019, 11:21am UTC](https://forums.unrealengine.com/t/two-actors-are-spawning-in-one-spawn-event/459778 "2019-12-21T11:21:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![BeeQuietGamingYT](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BeeQuietGamingYT](https://forums.unrealengine.com/u/BeeQuietGamingYT)\
**Post date:** [December 21, 2019, 11:21am UTC](https://forums.unrealengine.com/t/two-actors-are-spawning-in-one-spawn-event/459778/1 "2019-12-21T11:21:16Z")

</div>

I programmed a actor blueprint to spawn the actor infinite but at one event two actors are spawned at different locations. this is common to all my game actors. I tried searching multiplayer setting. I’m not playing the game in dedicated server and no multiplayer.

 ![294283-care.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/d/2/9d2b2ec560751e1c7eb5f1c9554ba1516d5a5e8c.png)

---

<div class="post-metadata">

**Author:** ![ppchavan001](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ppchavan001](https://forums.unrealengine.com/u/ppchavan001)\
**Post date:** [December 21, 2019, 12:44pm UTC](https://forums.unrealengine.com/t/two-actors-are-spawning-in-one-spawn-event/459778/2 "2019-12-21T12:44:23Z")

</div>

make sure you only call that function once,  
If that function is only called once then i am guessing the clients are calling the function separately which spawns more actors. Try 3-4 player multiplayer and if that increases the actors spawned

---

<div class="post-metadata">

**Author:** ![BeeQuietGamingYT](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BeeQuietGamingYT](https://forums.unrealengine.com/u/BeeQuietGamingYT)\
**Post date:** [December 24, 2019, 6:49am UTC](https://forums.unrealengine.com/t/two-actors-are-spawning-in-one-spawn-event/459778/3 "2019-12-24T06:49:46Z")

</div>

I tried with 3 multiplayer and now it spawns 3 actors rather than 2 but, I can’t find the problem , how do I play without any clients? I tried using doonce function it worked but not properly there is still some  
spawn lag.

---

<div class="post-metadata">

**Author:** ![ppchavan001](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ppchavan001](https://forums.unrealengine.com/u/ppchavan001)\
**Post date:** [December 25, 2019, 6:32am UTC](https://forums.unrealengine.com/t/two-actors-are-spawning-in-one-spawn-event/459778/4 "2019-12-25T06:32:06Z")

</div>

set the spawn event to RUN ON SERVER only ( from the details panel ). Set the player count to 1
