# Why is an extra player object spawning?

**URL:** <https://forums.unrealengine.com/t/why-is-an-extra-player-object-spawning/366160>\
**Category:** Community & Industry Discussion\
**Tags:** pie, unreal-engine, question\
**Created:** [August 4, 2016, 11:12pm UTC](https://forums.unrealengine.com/t/why-is-an-extra-player-object-spawning/366160 "2016-08-04T23:12:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_8c784a6b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_8c784a6b](https://forums.unrealengine.com/u/anonymous_user_8c784a6b)\
**Post date:** [August 4, 2016, 11:12pm UTC](https://forums.unrealengine.com/t/why-is-an-extra-player-object-spawning/366160/1 "2016-08-04T23:12:23Z")

</div>

When I run my project in the editor it always spawns an additional player object on its own at what seems like a random location (usually up in the air over the map). I’d like it to not do that.

I’m using an unusual method for generating the map, which may be related. I read from an outside file and then spawn in a bunch of actors, including the player character object that I actually want. I’m wondering if it’s spawning the extra player before that because it feels like it needs one.

Regardless, does anyone know if there’s a way that I can disable this behavior?

---

<div class="post-metadata">

**Author:** ![DennyR](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DennyR](https://forums.unrealengine.com/u/DennyR)\
**Post date:** [August 5, 2016, 12:02am UTC](https://forums.unrealengine.com/t/why-is-an-extra-player-object-spawning/366160/2 "2016-08-05T00:02:38Z")

</div>

Yes, that could be related with how you spawn your player manually. GameMode handles spawning of PlayerControllers and Pawns automatically, if you didn’t change it.

I am not sure if this a BP or C++ project, so I can’t really say much more, but here is the a [useful documentation article about GameMode](https://docs.unrealengine.com/latest/INT/Gameplay/HowTo/SettingUpAGameMode/Blueprints/) that you should read.

[Also this one](https://docs.unrealengine.com/latest/INT/Gameplay/Framework/GameMode/index.html)

Not sure what kind of game you are making, but it is usually best to stay within Unreals framework. So I would advice to set up a proper GameMode and let it handle the spawning of PlayerPawn and Controller.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_8c784a6b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_8c784a6b](https://forums.unrealengine.com/u/anonymous_user_8c784a6b)\
**Post date:** [August 5, 2016, 3:40am UTC](https://forums.unrealengine.com/t/why-is-an-extra-player-object-spawning/366160/3 "2016-08-05T03:40:09Z")

</div>

It was the game mode spawning the extra. I changed the default pawn class to none and it stopped doing it. Thank you.

---

<div class="post-metadata">

**Author:** ![Kung\_Fu\_Donkey](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kung\_Fu\_Donkey](https://forums.unrealengine.com/u/Kung_Fu_Donkey)\
**Post date:** [July 22, 2022, 10:02am UTC](https://forums.unrealengine.com/t/why-is-an-extra-player-object-spawning/366160/4 "2022-07-22T10:02:06Z")

</div>

I know I am a bit late to this thread, but I ran into the same issue and for me the solution was different. I spawn my pawns in C++ on the server side. If you do not set the function that spawns the pawns with ‘WithValidate’ it runs also on the client, creating 2 copies of the pawn.

---

<div class="post-metadata">

**Author:** ![Samael\_Salivan1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Samael\_Salivan1](https://forums.unrealengine.com/u/Samael_Salivan1)\
**Post date:** [December 25, 2024, 9:23am UTC](https://forums.unrealengine.com/t/why-is-an-extra-player-object-spawning/366160/5 "2024-12-25T09:23:57Z")

</div>

when i do that. camera is in the ground and nothing works 🙄

---

<div class="post-metadata">

**Author:** ![scopegranites](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@scopegranites](https://forums.unrealengine.com/u/scopegranites)\
**Post date:** [December 25, 2024, 10:51am UTC](https://forums.unrealengine.com/t/why-is-an-extra-player-object-spawning/366160/6 "2024-12-25T10:51:29Z")

</div>

The player object may duplicate unintentionally as a result of an issue with the spawn logic, such as a condition being met twice or a bug that causes the player object to duplicate unintentionally as a result of a bug. If there are any redundancies, check them out.
