# Ai Moveto aborted no matter what I try

**URL:** <https://forums.unrealengine.com/t/ai-moveto-aborted-no-matter-what-i-try/617503>\
**Category:** AI\
**Tags:** unreal-engine, UE5-0, UE4-27, Blueprint, question\
**Created:** [July 30, 2022, 1:02am UTC](https://forums.unrealengine.com/t/ai-moveto-aborted-no-matter-what-i-try/617503 "2022-07-30T01:02:45Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Prolandia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Prolandia](https://forums.unrealengine.com/u/Prolandia)\
**Post date:** [July 30, 2022, 1:02am UTC](https://forums.unrealengine.com/t/ai-moveto-aborted-no-matter-what-i-try/617503/1 "2022-07-30T01:02:45Z")

</div>

I have tried both unreal engine 5.0.3 and 4.27.2 and it give the same results  
This is what I used for the movement

 ![Notworking](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/d/e/4de106836e624cde06a06099ba15961c2dad4ab8.png)

---

<div class="post-metadata">

**Author:** ![UnrealSolver](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/unrealsolver/32/1194693_2.png) [@UnrealSolver](https://forums.unrealengine.com/u/UnrealSolver)\
**Post date:** [July 30, 2022, 1:54am UTC](https://forums.unrealengine.com/t/ai-moveto-aborted-no-matter-what-i-try/617503/2 "2022-07-30T01:54:19Z")

</div>

What is the result of your code?

Did you add “NavMesh” to the Level that will generate a walkable path for the AI?

Without this the AI will not move anywhere 😉

Once you place it on the Level make sure it covers areas the AI should be able to walk around, press P to see the NavMesh Generation 😉

---

<div class="post-metadata">

**Author:** ![Prolandia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Prolandia](https://forums.unrealengine.com/u/Prolandia)\
**Post date:** [July 30, 2022, 2:12am UTC](https://forums.unrealengine.com/t/ai-moveto-aborted-no-matter-what-i-try/617503/3 "2022-07-30T02:12:48Z")

</div>

Yes there is a valid nav mesh I tried to replace it and it didn’t change the print just says aborted

 ![navmesh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/5/4/154fe2d7ae32fd40fbffe3ab536bed16d467298b.jpeg)

---

<div class="post-metadata">

**Author:** ![UnrealSolver](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/unrealsolver/32/1194693_2.png) [@UnrealSolver](https://forums.unrealengine.com/u/UnrealSolver)\
**Post date:** [July 30, 2022, 2:17am UTC](https://forums.unrealengine.com/t/ai-moveto-aborted-no-matter-what-i-try/617503/4 "2022-07-30T02:17:08Z")

</div>

What is the Vector Value returning here?  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/8/0/480fafd2f7c222aef8efcb33d031515cd70b3990.png)

Use a PrintString to check if it doesn’t say 0

Also try adding the Target Actor with Radius instead (just to see what changes)

---

<div class="post-metadata">

**Author:** ![Prolandia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Prolandia](https://forums.unrealengine.com/u/Prolandia)\
**Post date:** [July 30, 2022, 2:26am UTC](https://forums.unrealengine.com/t/ai-moveto-aborted-no-matter-what-i-try/617503/5 "2022-07-30T02:26:29Z")

</div>

This is what it returns ![True](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/0/b/e0b90c70f4aa376d5d19694f012bfbd15d07f9b6.png)

---

<div class="post-metadata">

**Author:** ![UnrealSolver](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/unrealsolver/32/1194693_2.png) [@UnrealSolver](https://forums.unrealengine.com/u/UnrealSolver)\
**Post date:** [July 30, 2022, 2:32am UTC](https://forums.unrealengine.com/t/ai-moveto-aborted-no-matter-what-i-try/617503/6 "2022-07-30T02:32:47Z")

</div>

Which part is returning that “true value”? :o  
aborted comes from the AiMoveTo Enum but the “true” statement?

Maybe I’ll try to recreate your code to see as it’s really weird, you have actually everything

The last thing may be the Actor setup - when you placed it on the map - click it and scroll to very bottom to see how will it behave (should be AI or maybe Player 5, should the AI possess spawned or placed Actors)

If you spawn them - make sure their Defaults have also that setup

---

<div class="post-metadata">

**Author:** ![Prolandia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Prolandia](https://forums.unrealengine.com/u/Prolandia)\
**Post date:** [July 30, 2022, 2:39am UTC](https://forums.unrealengine.com/t/ai-moveto-aborted-no-matter-what-i-try/617503/7 "2022-07-30T02:39:52Z")

</div>

woops I put the print sting on get random reachable point i misread your message lol  
 ![Location](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/f/a/ffad9f4bff31a11ea922e71d8e998415157abad0.png)

---

<div class="post-metadata">

**Author:** ![UnrealSolver](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/unrealsolver/32/1194693_2.png) [@UnrealSolver](https://forums.unrealengine.com/u/UnrealSolver)\
**Post date:** [July 30, 2022, 2:42am UTC](https://forums.unrealengine.com/t/ai-moveto-aborted-no-matter-what-i-try/617503/8 "2022-07-30T02:42:30Z")

</div>

Here’s something about your issue, the guys describe what may cause it to Abort “without a reason”

> [@AI MoveTo fails with "aborted" inconsistently](https://forums.unrealengine.com/t/ai-moveto-fails-with-aborted-inconsistently/370814/3):
>
> I think you’re right about it being collision based. I’ve managed to fix it by increasing the acceptance radius to 50. It’s inherently difficult to re-produce so I can’t say for certain it’s fixed but I’ll say it’s solved for now since I haven’t been able to re-create it since making the change

---

<div class="post-metadata">

**Author:** ![Prolandia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Prolandia](https://forums.unrealengine.com/u/Prolandia)\
**Post date:** [July 30, 2022, 2:57am UTC](https://forums.unrealengine.com/t/ai-moveto-aborted-no-matter-what-i-try/617503/9 "2022-07-30T02:57:37Z")

</div>

Still the same issue

 ![Same issue](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/e/b/eeb94d99ac4e4ec3e9424d061f66666fcd3d73cd.png)

---

<div class="post-metadata">

**Author:** ![Prolandia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Prolandia](https://forums.unrealengine.com/u/Prolandia)\
**Post date:** [July 30, 2022, 3:03am UTC](https://forums.unrealengine.com/t/ai-moveto-aborted-no-matter-what-i-try/617503/10 "2022-07-30T03:03:21Z")

</div>

I tried to create a new level and its still the same issue even if its going to a target actor

---

<div class="post-metadata">

**Author:** ![UnrealSolver](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/unrealsolver/32/1194693_2.png) [@UnrealSolver](https://forums.unrealengine.com/u/UnrealSolver)\
**Post date:** [July 30, 2022, 3:04am UTC](https://forums.unrealengine.com/t/ai-moveto-aborted-no-matter-what-i-try/617503/11 "2022-07-30T03:04:17Z")

</div>

What is the Possessing setup in the AI?  
Are you using AI controller or a Custom AI controller?

What is specified in Game Mode? Are you also using own custom one or the original one?

---

<div class="post-metadata">

**Author:** ![Prolandia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Prolandia](https://forums.unrealengine.com/u/Prolandia)\
**Post date:** [July 30, 2022, 3:05am UTC](https://forums.unrealengine.com/t/ai-moveto-aborted-no-matter-what-i-try/617503/12 "2022-07-30T03:05:05Z")

</div>

Ai controller and using first person preset

---

<div class="post-metadata">

**Author:** ![Prolandia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Prolandia](https://forums.unrealengine.com/u/Prolandia)\
**Post date:** [July 30, 2022, 3:06am UTC](https://forums.unrealengine.com/t/ai-moveto-aborted-no-matter-what-i-try/617503/13 "2022-07-30T03:06:19Z")

</div>

![Mann](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/d/7/3d73e0169c043a20b8fdd7a34597f00b23e0b8d6.jpeg)  
there’s one that spawns and one that I placed

---

<div class="post-metadata">

**Author:** ![UnrealSolver](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/unrealsolver/32/1194693_2.png) [@UnrealSolver](https://forums.unrealengine.com/u/UnrealSolver)\
**Post date:** [July 30, 2022, 3:06am UTC](https://forums.unrealengine.com/t/ai-moveto-aborted-no-matter-what-i-try/617503/14 "2022-07-30T03:06:32Z")

</div>

So you are using same Actor for AI and Player, right?

Then it’s the Defaults setup at the very bottom where you can specify how AI will behave, or if it should be a Player

---

<div class="post-metadata">

**Author:** ![Prolandia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Prolandia](https://forums.unrealengine.com/u/Prolandia)\
**Post date:** [July 30, 2022, 3:07am UTC](https://forums.unrealengine.com/t/ai-moveto-aborted-no-matter-what-i-try/617503/15 "2022-07-30T03:07:20Z")

</div>

no the player is the default spawn player the enemy is the cubes

---

<div class="post-metadata">

**Author:** ![UnrealSolver](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/unrealsolver/32/1194693_2.png) [@UnrealSolver](https://forums.unrealengine.com/u/UnrealSolver)\
**Post date:** [July 30, 2022, 3:08am UTC](https://forums.unrealengine.com/t/ai-moveto-aborted-no-matter-what-i-try/617503/16 "2022-07-30T03:08:17Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/6/7/b67bfe0d8c0320fd5c2be774213e3d5e9f6319e3.png)

I mean this setup, check if it’s done correctly for your Cube

also does the Cube have any Movement Component or is it just a cube with nothing?

---

<div class="post-metadata">

**Author:** ![Prolandia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Prolandia](https://forums.unrealengine.com/u/Prolandia)\
**Post date:** [July 30, 2022, 3:08am UTC](https://forums.unrealengine.com/t/ai-moveto-aborted-no-matter-what-i-try/617503/17 "2022-07-30T03:08:51Z")

</div>

![Screenshot_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/1/d/11d03b81dab7df4a9fda2b9276dc698dc02b6e3f.png)  
I have that set

---

<div class="post-metadata">

**Author:** ![UnrealSolver](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/unrealsolver/32/1194693_2.png) [@UnrealSolver](https://forums.unrealengine.com/u/UnrealSolver)\
**Post date:** [July 30, 2022, 3:09am UTC](https://forums.unrealengine.com/t/ai-moveto-aborted-no-matter-what-i-try/617503/18 "2022-07-30T03:09:09Z")

</div>

And what about the Movement Component?

---

<div class="post-metadata">

**Author:** ![Prolandia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Prolandia](https://forums.unrealengine.com/u/Prolandia)\
**Post date:** [July 30, 2022, 3:11am UTC](https://forums.unrealengine.com/t/ai-moveto-aborted-no-matter-what-i-try/617503/19 "2022-07-30T03:11:04Z")

</div>

i had the wrong movement component thank you so much

---

<div class="post-metadata">

**Author:** ![UnrealSolver](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/unrealsolver/32/1194693_2.png) [@UnrealSolver](https://forums.unrealengine.com/u/UnrealSolver)\
**Post date:** [July 30, 2022, 3:11am UTC](https://forums.unrealengine.com/t/ai-moveto-aborted-no-matter-what-i-try/617503/20 "2022-07-30T03:11:59Z")

</div>

Finally we got this haha, nice 😆

[Next page](https://forums.unrealengine.com/t/ai-moveto-aborted-no-matter-what-i-try/617503.md?page=2)
