# Spawn actor not working (with code)

**URL:** <https://forums.unrealengine.com/t/spawn-actor-not-working-with-code/448817>\
**Category:** Blueprint\
**Tags:** spawn, for-loop, unreal-engine, UE4, question, Blueprint\
**Created:** [May 11, 2019, 7:56pm UTC](https://forums.unrealengine.com/t/spawn-actor-not-working-with-code/448817 "2019-05-11T19:56:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lazzercat05](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lazzercat05](https://forums.unrealengine.com/u/Lazzercat05)\
**Post date:** [May 11, 2019, 7:56pm UTC](https://forums.unrealengine.com/t/spawn-actor-not-working-with-code/448817/1 "2019-05-11T19:56:27Z")

</div>

here the code, I am very confused, it worked before.

 ![276628-screenshot-4.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/b/3/9b3cd97c724b33164b86f90238ea8298230c9bc6.jpeg)

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [May 11, 2019, 8:08pm UTC](https://forums.unrealengine.com/t/spawn-actor-not-working-with-code/448817/2 "2019-05-11T20:08:40Z")

</div>

If the actor is not spawning, the branch returns _True_. Apparently _Chunks_ contains those coordinates.
