# AI

**URL:** https://forums.unrealengine.com/c/development-discussion/programming-scripting/ai/128.md?page=24

[Latest](https://forums.unrealengine.com/latest.md) · [Categories](https://forums.unrealengine.com/categories.md) · [Tags](https://forums.unrealengine.com/tags.md)

**Page:** 25

---

## [Best way for AI to communicate back to a StateTree Task?](https://forums.unrealengine.com/t/best-way-for-ai-to-communicate-back-to-a-statetree-task/1677046)

<div class="topic-metadata">

**Author:** [@Krileon](https://forums.unrealengine.com/u/Krileon)\
**Replies:** 2\
**Last updated:** [February 10, 2024, 3:03pm UTC](https://forums.unrealengine.com/t/best-way-for-ai-to-communicate-back-to-a-statetree-task/1677046 "2024-02-10T15:03:11Z")

</div>

I have an AI StateTree Task called Attack. In BehaviorTree it was easy enough just sending an AI message and acting on that. Is there an equivalent for StateTree? I don’t want to have to use a delegate as that requires …

---

## [Why is everything running instantly in my behavior tree?](https://forums.unrealengine.com/t/why-is-everything-running-instantly-in-my-behavior-tree/1670345)

<div class="topic-metadata">

**Author:** [@dabbbbbbbb5656](https://forums.unrealengine.com/u/dabbbbbbbb5656)\
**Replies:** 1\
**Last updated:** [February 8, 2024, 7:57am UTC](https://forums.unrealengine.com/t/why-is-everything-running-instantly-in-my-behavior-tree/1670345 "2024-02-08T07:57:46Z")

</div>

I’m trying to make the AI move to the areas that are close to the walls, and after reaching that location, I want it to cover, but in the game, what I see is that the AI right at the beginning is covering, an…

---

## [Landscape Spline Actor to BP Spline/Waypoint Actors for use for AI Path Following](https://forums.unrealengine.com/t/landscape-spline-actor-to-bp-spline-waypoint-actors-for-use-for-ai-path-following/1670203)

<div class="topic-metadata">

**Author:** [@Nioh04](https://forums.unrealengine.com/u/Nioh04)\
**Replies:** 0\
**Last updated:** [February 6, 2024, 3:58pm UTC](https://forums.unrealengine.com/t/landscape-spline-actor-to-bp-spline-waypoint-actors-for-use-for-ai-path-following/1670203 "2024-02-06T15:58:45Z")

</div>

Hi When starting a Car Racing project, the first issue I hit was I did not want to create a manual BP Spline or Waypoints based on the the Landscape Spline of my tracks, so I started work on a Plugin to automate the cre…

---

## [Blending real-time cutscene with NPC AI behavior](https://forums.unrealengine.com/t/blending-real-time-cutscene-with-npc-ai-behavior/1666517)

<div class="topic-metadata">

**Author:** [@V\_vix](https://forums.unrealengine.com/u/V_vix)\
**Replies:** 2\
**Last updated:** [February 4, 2024, 10:58pm UTC](https://forums.unrealengine.com/t/blending-real-time-cutscene-with-npc-ai-behavior/1666517 "2024-02-04T22:58:20Z")

</div>

If any of you ever played Half-Life, one thing you might remember is how all the NPCs were killable, including during cutscenes, which didn’t take control away from the player. So, for instance, 2 people could be talkin…

---

## [How to detect actors blocking AI navigation or movement?](https://forums.unrealengine.com/t/how-to-detect-actors-blocking-ai-navigation-or-movement/432052)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_8c806efd1](https://forums.unrealengine.com/u/anonymous_user_8c806efd1)\
**Replies:** 2\
**Last updated:** [February 4, 2024, 4:34am UTC](https://forums.unrealengine.com/t/how-to-detect-actors-blocking-ai-navigation-or-movement/432052 "2024-02-04T04:34:07Z")

</div>

I’ve got an AI setup using behaviour trees. I have the AI move to location and open doors when they overlap the door interaction range but this means every door they touch opens. I want the AI to only open doors if they …

---

## [Running an EQS Query from a service](https://forums.unrealengine.com/t/running-an-eqs-query-from-a-service/342261)

<div class="topic-metadata">

**Author:** [@Flava\_NKL](https://forums.unrealengine.com/u/Flava_NKL)\
**Replies:** 7\
**Last updated:** [February 2, 2024, 8:06pm UTC](https://forums.unrealengine.com/t/running-an-eqs-query-from-a-service/342261 "2024-02-02T20:06:34Z")

</div>

Can’t seem to find another post that relates to this. I basically have an EQS query that searches for a location nearby ( \< 1000 units ) furthest away from all actors of a certain class. If I run the task by itself insi…

---

## [StateTree Move To Location or Actor never finishing](https://forums.unrealengine.com/t/statetree-move-to-location-or-actor-never-finishing/1654461)

<div class="topic-metadata">

**Author:** [@Krileon](https://forums.unrealengine.com/u/Krileon)\
**Replies:** 3\
**Last updated:** [February 2, 2024, 7:26pm UTC](https://forums.unrealengine.com/t/statetree-move-to-location-or-actor-never-finishing/1654461 "2024-02-02T19:26:24Z")

</div>

I can’t seam to get StateTree to report that a task is finished when telling the AI to move. The movement is working fine, but it’s as if Finish Task just does nothing. Below is the task. It’s quite simple. Even an e…

---

## [Ai nav mesh fwetting blocked by the pawn even if Can Affect Navigation Generation is false](https://forums.unrealengine.com/t/ai-nav-mesh-fwetting-blocked-by-the-pawn-even-if-can-affect-navigation-generation-is-false/1657371)

<div class="topic-metadata">

**Author:** [@Rabitron](https://forums.unrealengine.com/u/Rabitron)\
**Replies:** 1\
**Last updated:** [February 1, 2024, 4:04am UTC](https://forums.unrealengine.com/t/ai-nav-mesh-fwetting-blocked-by-the-pawn-even-if-can-affect-navigation-generation-is-false/1657371 "2024-02-01T04:04:46Z")

</div>

Just trying to relearn the engine and this happened even though I have can affect Navigation generation off.

---

## [FInd Random Patrol In AI Tutorial Not Working](https://forums.unrealengine.com/t/find-random-patrol-in-ai-tutorial-not-working/480027)

<div class="topic-metadata">

**Author:** [@ppcmdgamesx](https://forums.unrealengine.com/u/ppcmdgamesx)\
**Replies:** 4\
**Last updated:** [January 31, 2024, 7:01pm UTC](https://forums.unrealengine.com/t/find-random-patrol-in-ai-tutorial-not-working/480027 "2024-01-31T19:01:38Z")

</div>

I created almost the same setup as stated in this tutorial from the UE documentation: \[Behavior Tree in Unreal Engine - Quick Start Guide | Unreal Engine 5.1 Documentation\]\[1\] However, the AI enemy chases the player bu…

---

## [How to notify AI if it is stuck](https://forums.unrealengine.com/t/how-to-notify-ai-if-it-is-stuck/445981)

<div class="topic-metadata">

**Author:** [@PanAtoman](https://forums.unrealengine.com/u/PanAtoman)\
**Replies:** 5\
**Last updated:** [January 30, 2024, 9:54am UTC](https://forums.unrealengine.com/t/how-to-notify-ai-if-it-is-stuck/445981 "2024-01-30T09:54:27Z")

</div>

Need some help with AI. So maybe someone can help me. What is the best way to tell NPC change state at behaviour tree if it cannot reach target location ( I’m using move to) For instance NPC Just blocked by static mesh a…

---

## [Mass Aiを利用した群衆AIで動かない人がいる](https://forums.unrealengine.com/t/mass-ai-ai/1650932)

<div class="topic-metadata">

**Author:** [@nusi410](https://forums.unrealengine.com/u/nusi410)\
**Replies:** 0\
**Last updated:** [January 29, 2024, 5:26am UTC](https://forums.unrealengine.com/t/mass-ai-ai/1650932 "2024-01-29T05:26:33Z")

</div>

ue5から追加されたMassAIを利用して群衆を作っています。 時々移動しない、突っかかっているようなキャラクターが生成されることがあります。 対処方法はありますか？ 参考URL：https://www.youtube.com/watch?v=4KgIiq6s\_yM 【I am using MassAI, added since ue5, to create crowds. Sometimes it generates cha…

---

## [AIMoveTo acting strange, rotating around like crazy](https://forums.unrealengine.com/t/aimoveto-acting-strange-rotating-around-like-crazy/1648169)

<div class="topic-metadata">

**Author:** [@JoeBidensSlave42](https://forums.unrealengine.com/u/JoeBidensSlave42)\
**Replies:** 2\
**Last updated:** [January 28, 2024, 6:16pm UTC](https://forums.unrealengine.com/t/aimoveto-acting-strange-rotating-around-like-crazy/1648169 "2024-01-28T18:16:33Z")

</div>

I’m having an issue with the AIMoveTo node. I have a very simple blueprint that finds a random location on the navmesh then AIMoveTo tells the Ai Controller to move there. It sort of works, however as you can see…

---

## [Pawn AI controller class is unselectable](https://forums.unrealengine.com/t/pawn-ai-controller-class-is-unselectable/584919)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_9a05e0ff](https://forums.unrealengine.com/u/anonymous_user_9a05e0ff)\
**Replies:** 7\
**Last updated:** [January 27, 2024, 2:30pm UTC](https://forums.unrealengine.com/t/pawn-ai-controller-class-is-unselectable/584919 "2024-01-27T14:30:49Z")

</div>

I’ve made a new character class for AI but, when ever I go to select my custom AI controller it does not select it no matter what I do. I tried making a new controller class but it still does not accept it.

---

## [Move to Location, AI Move To, Simple Move to Location - are always 0,0,0 velocity in first frame](https://forums.unrealengine.com/t/move-to-location-ai-move-to-simple-move-to-location-are-always-0-0-0-velocity-in-first-frame/548940)

<div class="topic-metadata">

**Author:** [@wab11](https://forums.unrealengine.com/u/wab11)\
**Replies:** 19\
**Last updated:** [January 26, 2024, 11:15pm UTC](https://forums.unrealengine.com/t/move-to-location-ai-move-to-simple-move-to-location-are-always-0-0-0-velocity-in-first-frame/548940 "2024-01-26T23:15:19Z")

</div>

Hey! Every nodes for move AI: Move to Location Move to Actor Move to Location or Actor AI Move To Simple Move to Location Simple Move to Actor always have velocity 0,0,0 (check by node/function “Get Velocity”) in fir…

---

## [AI Move To alternative for player character](https://forums.unrealengine.com/t/ai-move-to-alternative-for-player-character/398948)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_2afeeab8](https://forums.unrealengine.com/u/anonymous_user_2afeeab8)\
**Replies:** 1\
**Last updated:** [January 26, 2024, 11:02pm UTC](https://forums.unrealengine.com/t/ai-move-to-alternative-for-player-character/398948 "2024-01-26T23:02:53Z")

</div>

Is there such thing? I’d like to make my character walk to a point using the navmesh just like another pawn controlled by AI, so far none of the nodes aimed to AI works for the player controlled character, such as Simple…

---

## [UE5.1 Crash to desktop when drag clicking in behaviour tree editor](https://forums.unrealengine.com/t/ue5-1-crash-to-desktop-when-drag-clicking-in-behaviour-tree-editor/752789)

<div class="topic-metadata">

**Author:** [@samanderton64](https://forums.unrealengine.com/u/samanderton64)\
**Replies:** 5\
**Last updated:** [January 24, 2024, 3:59pm UTC](https://forums.unrealengine.com/t/ue5-1-crash-to-desktop-when-drag-clicking-in-behaviour-tree-editor/752789 "2024-01-24T15:59:18Z")

</div>

after updating my project from unreal 5.03 to unreal 5.1 i haven’t been able to work on my AI Behaviour trees due to crashes every few minutes, this usually happens when i drag click to move tasks or decorators about in …

---

## [Unreal Engine 5 keeps crashing when I edit inside AI Behavior Tree editor](https://forums.unrealengine.com/t/unreal-engine-5-keeps-crashing-when-i-edit-inside-ai-behavior-tree-editor/1316295)

<div class="topic-metadata">

**Author:** [@Kiwi\_Snipes](https://forums.unrealengine.com/u/Kiwi_Snipes)\
**Replies:** 1\
**Last updated:** [January 24, 2024, 3:59pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-keeps-crashing-when-i-edit-inside-ai-behavior-tree-editor/1316295 "2024-01-24T15:59:16Z")

</div>

CrashContext.runtime-xml (166.7 KB) HorrorGame.log (230.6 KB) UEMinidump.dmp (1.3 MB)

---

## [AI smart link: OnSmartLinkReached event not working](https://forums.unrealengine.com/t/ai-smart-link-onsmartlinkreached-event-not-working/485410)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_4b9de05d](https://forums.unrealengine.com/u/anonymous_user_4b9de05d)\
**Replies:** 2\
**Last updated:** [January 24, 2024, 8:56am UTC](https://forums.unrealengine.com/t/ai-smart-link-onsmartlinkreached-event-not-working/485410 "2024-01-24T08:56:27Z")

</div>

I don’t know why the answer forums don’t have a section specifically for AI, but I guess I’ll just post my question here: I’m having this issue with using the smart link in the nav link proxy. I have it so the agent ope…

---

## [Long Range Jump To Attack Target](https://forums.unrealengine.com/t/long-range-jump-to-attack-target/1635520)

<div class="topic-metadata">

**Author:** [@QWER9983](https://forums.unrealengine.com/u/QWER9983)\
**Replies:** 2\
**Last updated:** [January 23, 2024, 4:28am UTC](https://forums.unrealengine.com/t/long-range-jump-to-attack-target/1635520 "2024-01-23T04:28:34Z")

</div>

Hey guys i’m stucking at this point,So basically boss is not jumping directly to my character and i dont know why even i changed arc parameters to 99 and it is still not working ,is there anybody can help me about this? …

---

## [Pathfinding without a navmesh](https://forums.unrealengine.com/t/pathfinding-without-a-navmesh/1612955)

<div class="topic-metadata">

**Author:** [@Betaboycreatorye](https://forums.unrealengine.com/u/Betaboycreatorye)\
**Replies:** 6\
**Last updated:** [January 21, 2024, 5:12pm UTC](https://forums.unrealengine.com/t/pathfinding-without-a-navmesh/1612955 "2024-01-21T17:12:10Z")

</div>

Ok, so long story short, I am working on a project that cannot use a navmesh. I need to have AI that can chase the player, or go to any area in general, without using a navmesh or aimoveto. I have no idea if its even pos…

---

## [AIMoveTo fails instantly](https://forums.unrealengine.com/t/aimoveto-fails-instantly/1629965)

<div class="topic-metadata">

**Author:** [@wiking333](https://forums.unrealengine.com/u/wiking333)\
**Replies:** 1\
**Last updated:** [January 20, 2024, 9:31pm UTC](https://forums.unrealengine.com/t/aimoveto-fails-instantly/1629965 "2024-01-20T21:31:03Z")

</div>

Hello As in topic, the AI instantly fails the AiMoveTo node even though is sees the target It worked correctly earlier and to be honest I dont know what I changed that made it break. Also when I set the acceptable r…

---

## [How to disable gamepad control in editor?](https://forums.unrealengine.com/t/how-to-disable-gamepad-control-in-editor/443513)

<div class="topic-metadata">

**Author:** [@JerichoBLT](https://forums.unrealengine.com/u/JerichoBLT)\
**Replies:** 3\
**Last updated:** [January 18, 2024, 2:39pm UTC](https://forums.unrealengine.com/t/how-to-disable-gamepad-control-in-editor/443513 "2024-01-18T14:39:44Z")

</div>

The sticks on my gamepad are loose, and they keep navigating the menus when I don’t want them too. How do I disable this without removing control from gameplay? In “editor preferences” there’s an option to disable game…

---

## [How to get AI controller input axis values?](https://forums.unrealengine.com/t/how-to-get-ai-controller-input-axis-values/442164)

<div class="topic-metadata">

**Author:** [@jmalaska](https://forums.unrealengine.com/u/jmalaska)\
**Replies:** 2\
**Last updated:** [January 18, 2024, 6:16am UTC](https://forums.unrealengine.com/t/how-to-get-ai-controller-input-axis-values/442164 "2024-01-18T06:16:27Z")

</div>

I’m trying to convert some player systems over to AI. I was hoping to change as little as possible in the conversion. The input axis events are easy to use on the player but are not present on AI controllers. I there an …

---

## [Mass AI Traffic MassSpawner in large map issue. How can I resolve it?](https://forums.unrealengine.com/t/mass-ai-traffic-massspawner-in-large-map-issue-how-can-i-resolve-it/1619222)

<div class="topic-metadata">

**Author:** [@PowerX24](https://forums.unrealengine.com/u/PowerX24)\
**Replies:** 0\
**Last updated:** [January 16, 2024, 3:28pm UTC](https://forums.unrealengine.com/t/mass-ai-traffic-massspawner-in-large-map-issue-how-can-i-resolve-it/1619222 "2024-01-16T15:28:20Z")

</div>

Hello everyone. I am having an issue in Unreal Engine 5.1 when using the MassSpawner. I am new to UE5, and I’m working on a street racing game set in a large open-world map, so when I drive a certain distance away from t…

---

## [AI jumping to the "Start" smart link on Nav Link Proxy, only when chasing player](https://forums.unrealengine.com/t/ai-jumping-to-the-start-smart-link-on-nav-link-proxy-only-when-chasing-player/1614446)

<div class="topic-metadata">

**Author:** [@KungFuBrad](https://forums.unrealengine.com/u/KungFuBrad)\
**Replies:** 2\
**Last updated:** [January 15, 2024, 7:07pm UTC](https://forums.unrealengine.com/t/ai-jumping-to-the-start-smart-link-on-nav-link-proxy-only-when-chasing-player/1614446 "2024-01-15T19:07:36Z")

</div>

Hey all, Having an odd issue when trying to get my AI to jump up/down from a ledge leveraging a custom blueprint based off the Nav Link Proxy. I’ve looked at the many examples available online and set up a Nav Link Pro…

---

## [Event Receive Smart Link Reached Not Firing](https://forums.unrealengine.com/t/event-receive-smart-link-reached-not-firing/385863)

<div class="topic-metadata">

**Author:** [@Reysic](https://forums.unrealengine.com/u/Reysic)\
**Replies:** 11\
**Last updated:** [January 14, 2024, 12:49am UTC](https://forums.unrealengine.com/t/event-receive-smart-link-reached-not-firing/385863 "2024-01-14T00:49:04Z")

</div>

I have an AI character moving to a NavLinkProxy when I jump to a higher level and it’s trying to follow me. This is great, but when the character reaches the NavLinkProxy, Event Receive Smart Link Reached is not firing. …

---

## [Learning Agents - Getting 'Setup not complete' error when trying to use radial Ray cast](https://forums.unrealengine.com/t/learning-agents-getting-setup-not-complete-error-when-trying-to-use-radial-ray-cast/1609193)

<div class="topic-metadata">

**Author:** [@ShaverDaver](https://forums.unrealengine.com/u/ShaverDaver)\
**Replies:** 2\
**Last updated:** [January 14, 2024, 12:37am UTC](https://forums.unrealengine.com/t/learning-agents-getting-setup-not-complete-error-when-trying-to-use-radial-ray-cast/1609193 "2024-01-14T00:37:09Z")

</div>

Hi! I was able to follow the step by step tutorial and get the cars to drive. Now I want to grant them environmental awareness by adding collision and ray cast. I am getting this error trying to add the Ray Cast. Err…

---

## [how do I make the bot hunt for the player and if it catches him, the game ends?](https://forums.unrealengine.com/t/how-do-i-make-the-bot-hunt-for-the-player-and-if-it-catches-him-the-game-ends/1608846)

<div class="topic-metadata">

**Author:** [@Poor\_Game](https://forums.unrealengine.com/u/Poor_Game)\
**Replies:** 0\
**Last updated:** [January 12, 2024, 3:35pm UTC](https://forums.unrealengine.com/t/how-do-i-make-the-bot-hunt-for-the-player-and-if-it-catches-him-the-game-ends/1608846 "2024-01-12T15:35:55Z")

</div>

Hi, can you help me? I tried to do it myself, but it didn’t work out. Тhe problem is that the bot has to walk through the corridors how do I make the bot hunt for the player and if it catches him, the game ends?

---

## [项目使用像素流部署后，在浏览器访问时，项目中的输入框无法切换中文](https://forums.unrealengine.com/t/topic/781872)

<div class="topic-metadata">

**Author:** [@Enjoy\_Lifes](https://forums.unrealengine.com/u/Enjoy_Lifes)\
**Replies:** 2\
**Last updated:** [January 12, 2024, 3:17am UTC](https://forums.unrealengine.com/t/topic/781872 "2024-01-12T03:17:56Z")

</div>

项目使用像素流部署后，在浏览器访问时，项目中的输入框无法切换中文

---

## [NavMesh ignores Procedural Mesh](https://forums.unrealengine.com/t/navmesh-ignores-procedural-mesh/617843)

<div class="topic-metadata">

**Author:** [@Anilarion](https://forums.unrealengine.com/u/Anilarion)\
**Replies:** 3\
**Last updated:** [January 12, 2024, 1:21am UTC](https://forums.unrealengine.com/t/navmesh-ignores-procedural-mesh/617843 "2024-01-12T01:21:28Z")

</div>

I tried to apply NavMesh to Procedural Mesh, but it doesn’t work. Procedural mesh on the left, Classic Plane on the right: And collision settings: How can i fix it?

[Previous page](https://forums.unrealengine.com/c/development-discussion/programming-scripting/ai/128.md?page=23)

[Next page](https://forums.unrealengine.com/c/development-discussion/programming-scripting/ai/128.md?page=25)
