# Spawn function fail conditions

**URL:** <https://forums.unrealengine.com/t/spawn-function-fail-conditions/836373>\
**Category:** Programming & Scripting\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, question, fortnite\
**Created:** [March 31, 2023, 10:11pm UTC](https://forums.unrealengine.com/t/spawn-function-fail-conditions/836373 "2023-03-31T22:11:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lwillsl](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lwillsl/32/651027_2.png) [@lwillsl](https://forums.unrealengine.com/u/lwillsl)\
**Post date:** [March 31, 2023, 10:11pm UTC](https://forums.unrealengine.com/t/spawn-function-fail-conditions/836373/1 "2023-03-31T22:11:10Z")

</div>

The description of the [Spawn function](https://dev.epicgames.com/documentation/en-us/uefn/verse-api/fortnitedotcom/devices/guard_spawner_device/spawn) says “_Tries to spawn a guard_”.

Does anyone know how/why it could fail? What are the conditions?

It fails quite often and I spent to much time trying to understand why. I need some help.
