# Why wont my AI will not move on a box spawn them on?

**URL:** <https://forums.unrealengine.com/t/why-wont-my-ai-will-not-move-on-a-box-spawn-them-on/388399>\
**Category:** AI\
**Tags:** spawn, move-to-location, unreal-engine, UE4, Blueprint, question\
**Created:** [March 20, 2017, 1:28am UTC](https://forums.unrealengine.com/t/why-wont-my-ai-will-not-move-on-a-box-spawn-them-on/388399 "2017-03-20T01:28:49Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![kjelch1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kjelch1](https://forums.unrealengine.com/u/kjelch1)\
**Post date:** [March 20, 2017, 1:28am UTC](https://forums.unrealengine.com/t/why-wont-my-ai-will-not-move-on-a-box-spawn-them-on/388399/1 "2017-03-20T01:28:49Z")

</div>

I have used the 3rd person template and when i spawn AI on the default map it will chase after me, but when i use my procedurally generated map it just stands there. on AI moveTo the it will output to fail, Any ideas on how i can get the AI to follow me on the surface that i have spawned in?

Thanks

---

<div class="post-metadata">

**Author:** ![Knight9871](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Knight9871](https://forums.unrealengine.com/u/Knight9871)\
**Post date:** [March 20, 2017, 1:58am UTC](https://forums.unrealengine.com/t/why-wont-my-ai-will-not-move-on-a-box-spawn-them-on/388399/2 "2017-03-20T01:58:58Z")

</div>

Did you add a Nav mesh?

---

<div class="post-metadata">

**Author:** ![kjelch1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kjelch1](https://forums.unrealengine.com/u/kjelch1)\
**Post date:** [March 20, 2017, 2:01am UTC](https://forums.unrealengine.com/t/why-wont-my-ai-will-not-move-on-a-box-spawn-them-on/388399/3 "2017-03-20T02:01:29Z")

</div>

Yeah done that

---

<div class="post-metadata">

**Author:** ![Knight9871](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Knight9871](https://forums.unrealengine.com/u/Knight9871)\
**Post date:** [March 20, 2017, 2:17am UTC](https://forums.unrealengine.com/t/why-wont-my-ai-will-not-move-on-a-box-spawn-them-on/388399/4 "2017-03-20T02:17:49Z")

</div>

OK so did you make sure that the an is not spawning some what in The box or something like that?

---

<div class="post-metadata">

**Author:** ![kjelch1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kjelch1](https://forums.unrealengine.com/u/kjelch1)\
**Post date:** [March 20, 2017, 2:31am UTC](https://forums.unrealengine.com/t/why-wont-my-ai-will-not-move-on-a-box-spawn-them-on/388399/5 "2017-03-20T02:31:35Z")

</div>

yeah made sure of that aswell, they fall before hitting the ground

---

<div class="post-metadata">

**Author:** ![Knight9871](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Knight9871](https://forums.unrealengine.com/u/Knight9871)\
**Post date:** [March 20, 2017, 2:59am UTC](https://forums.unrealengine.com/t/why-wont-my-ai-will-not-move-on-a-box-spawn-them-on/388399/6 "2017-03-20T02:59:54Z")

</div>

Is your nav mesh cover the hull map and above and be!ow?

---

<div class="post-metadata">

**Author:** ![MieszkoZ](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MieszkoZ](https://forums.unrealengine.com/u/MieszkoZ)\
**Post date:** [March 20, 2017, 7:39am UTC](https://forums.unrealengine.com/t/why-wont-my-ai-will-not-move-on-a-box-spawn-them-on/388399/7 "2017-03-20T07:39:18Z")

</div>

A screenshot would help, showing the site with navmesh debug drawing enabled 😃

---

<div class="post-metadata">

**Author:** ![Knight9871](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Knight9871](https://forums.unrealengine.com/u/Knight9871)\
**Post date:** [March 20, 2017, 1:05pm UTC](https://forums.unrealengine.com/t/why-wont-my-ai-will-not-move-on-a-box-spawn-them-on/388399/8 "2017-03-20T13:05:17Z")

</div>

yeah it would and more details

---

<div class="post-metadata">

**Author:** ![Knight9871](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Knight9871](https://forums.unrealengine.com/u/Knight9871)\
**Post date:** [March 26, 2017, 5:53pm UTC](https://forums.unrealengine.com/t/why-wont-my-ai-will-not-move-on-a-box-spawn-them-on/388399/9 "2017-03-26T17:53:34Z")

</div>

mabye he fixed it?

---

<div class="post-metadata">

**Author:** ![DDraiman1990](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DDraiman1990](https://forums.unrealengine.com/u/DDraiman1990)\
**Post date:** [March 28, 2017, 11:45am UTC](https://forums.unrealengine.com/t/why-wont-my-ai-will-not-move-on-a-box-spawn-them-on/388399/10 "2017-03-28T11:45:06Z")

</div>

First of all, check if you set Project Settings → Navigation Mesh → Runtime Generation to True. if you are doing procedural generation it makes sense that the engine needs to rebuild the nav mesh on runtime.

Second, did you see if you did not spawn in some incline or somewhere too high/low? if you did, maybe add NavLinks to tell it how to get up/down to that place?

Just suggestions 🙂

---

<div class="post-metadata">

**Author:** ![emperor\_katax](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/emperor_katax/32/1070178_2.png) [@emperor\_katax](https://forums.unrealengine.com/u/emperor_katax)\
**Post date:** [November 5, 2019, 11:44pm UTC](https://forums.unrealengine.com/t/why-wont-my-ai-will-not-move-on-a-box-spawn-them-on/388399/11 "2019-11-05T23:44:11Z")

</div>

… you need to use “Spawn AIFrom Class” … check this … ; ] ,

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/e/9/be939a650a99436d3ed22e416d91db381611be2f.jpeg "WTF Is? Spawn AI From Class in Unreal Engine 4 ( UE4 )") ](https://www.youtube.com/watch?v=b4T5rCvfv8c)
