# AI

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

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

**Page:** 28

---

## [MoveToLocation no move on more then 60 AIs](https://forums.unrealengine.com/t/movetolocation-no-move-on-more-then-60-ais/1383728)

<div class="topic-metadata">

**Author:** [@PengJiLin](https://forums.unrealengine.com/u/PengJiLin)\
**Replies:** 2\
**Last updated:** [November 12, 2023, 5:24am UTC](https://forums.unrealengine.com/t/movetolocation-no-move-on-more-then-60-ais/1383728 "2023-11-12T05:24:50Z")

</div>

Hello: I Use EPathFollowingRequestResult::Type oRet = AIController-\>MoveToLocation(m\_oCurPatrolPoint); in Task, if AI \< 50, AI pawn move ok. But more, such as 60, AI pawn don’t move, but oRet = Type::AlreadyAtGoal, I De…

---

## [With behavior tree, how to execute a task only once ?](https://forums.unrealengine.com/t/with-behavior-tree-how-to-execute-a-task-only-once/1379695)

<div class="topic-metadata">

**Author:** [@imagineer](https://forums.unrealengine.com/u/imagineer)\
**Replies:** 2\
**Last updated:** [November 11, 2023, 8:49pm UTC](https://forums.unrealengine.com/t/with-behavior-tree-how-to-execute-a-task-only-once/1379695 "2023-11-11T20:49:51Z")

</div>

With Behavior tree, how to execute a task only once ?

---

## [Get Actor from Blackboard Key (Type: Object, Base Class: Actor) after setting a Actor value?](https://forums.unrealengine.com/t/get-actor-from-blackboard-key-type-object-base-class-actor-after-setting-a-actor-value/1376167)

<div class="topic-metadata">

**Author:** [@Aleeph](https://forums.unrealengine.com/u/Aleeph)\
**Replies:** 1\
**Last updated:** [November 9, 2023, 7:57pm UTC](https://forums.unrealengine.com/t/get-actor-from-blackboard-key-type-object-base-class-actor-after-setting-a-actor-value/1376167 "2023-11-09T19:57:44Z")

</div>

Hi! I’m having trouble getting an actor from a AI Blackboard key. Any ideas? My objective: Able to set an actor in the blackboard and get it for different AI tasks. The blackboard key is of type is Object and base cl…

---

## [I've tried it all. Still can't get nav mesh working in streamed sublevels.](https://forums.unrealengine.com/t/ive-tried-it-all-still-cant-get-nav-mesh-working-in-streamed-sublevels/1254685)

<div class="topic-metadata">

**Author:** [@mmmmGoodDinner](https://forums.unrealengine.com/u/mmmmGoodDinner)\
**Replies:** 5\
**Last updated:** [November 9, 2023, 7:10pm UTC](https://forums.unrealengine.com/t/ive-tried-it-all-still-cant-get-nav-mesh-working-in-streamed-sublevels/1254685 "2023-11-09T19:10:19Z")

</div>

I’ve read probably every forum post and reddit thread I could find on the subject, but I still cannot reliably get a static nav mesh working in streamed sublevels (I don’t want to use dynamic nav mesh as I’d like to save…

---

## [What is the most optimized way for using NavMesh in a large level?](https://forums.unrealengine.com/t/what-is-the-most-optimized-way-for-using-navmesh-in-a-large-level/1370835)

<div class="topic-metadata">

**Author:** [@isikdev](https://forums.unrealengine.com/u/isikdev)\
**Replies:** 0\
**Last updated:** [November 7, 2023, 1:50pm UTC](https://forums.unrealengine.com/t/what-is-the-most-optimized-way-for-using-navmesh-in-a-large-level/1370835 "2023-11-07T13:50:10Z")

</div>

Hello! I am working on a project with a particularly large map in UE 4.27. I was wondering what is the best approach for the navigation for a large area with many AI. I read about Navigation Invoker’s but I have some qu…

---

## [Adding path costs to nav links, when AI paths using them](https://forums.unrealengine.com/t/adding-path-costs-to-nav-links-when-ai-paths-using-them/417921)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_c688b4931](https://forums.unrealengine.com/u/anonymous_user_c688b4931)\
**Replies:** 1\
**Last updated:** [November 6, 2023, 8:40am UTC](https://forums.unrealengine.com/t/adding-path-costs-to-nav-links-when-ai-paths-using-them/417921 "2023-11-06T08:40:19Z")

</div>

I have currently set up nav link proxies that let my player jump, i am using custom path following component and a custom nav area for the jump. To discourage multiple ai from using the same nav links at the same time. …

---

## [Make Possed Character Run AI Behavior Tree](https://forums.unrealengine.com/t/make-possed-character-run-ai-behavior-tree/1353249)

<div class="topic-metadata">

**Author:** [@NikP](https://forums.unrealengine.com/u/NikP)\
**Replies:** 3\
**Last updated:** [November 3, 2023, 2:29am UTC](https://forums.unrealengine.com/t/make-possed-character-run-ai-behavior-tree/1353249 "2023-11-03T02:29:07Z")

</div>

Hi Guys, Ive sent up a basic Behavior Tree, that tells an AI NPC to run around randomly. When i possess the Character, the AI behavior stops. I want to possess the Character, but i also want the Behavior Tree to conti…

---

## [Problem with Navigation Invokers](https://forums.unrealengine.com/t/problem-with-navigation-invokers/379946)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_f9f0806d](https://forums.unrealengine.com/u/anonymous_user_f9f0806d)\
**Replies:** 12\
**Last updated:** [October 29, 2023, 1:06pm UTC](https://forums.unrealengine.com/t/problem-with-navigation-invokers/379946 "2023-10-29T13:06:09Z")

</div>

Hello, We have a large streaming world, and are using dynamic navigation. It seems to work well for the most part, except for one issue. When registering a pawn as a Navigation Invoker, it will only start generating na…

---

## [Rotate to face BB entry failing](https://forums.unrealengine.com/t/rotate-to-face-bb-entry-failing/357107)

<div class="topic-metadata">

**Author:** [@Nevermore](https://forums.unrealengine.com/u/Nevermore)\
**Replies:** 5\
**Last updated:** [October 27, 2023, 11:50pm UTC](https://forums.unrealengine.com/t/rotate-to-face-bb-entry-failing/357107 "2023-10-27T23:50:25Z")

</div>

The enemy entry is set, but the rotate node keeps failing (if I put it before Move To, none of them gets executed) Is there something wrong with this tree?

---

## [Modify AI Move To to rotate and move forward](https://forums.unrealengine.com/t/modify-ai-move-to-to-rotate-and-move-forward/365543)

<div class="topic-metadata">

**Author:** [@funkish](https://forums.unrealengine.com/u/funkish)\
**Replies:** 13\
**Last updated:** [October 27, 2023, 10:16pm UTC](https://forums.unrealengine.com/t/modify-ai-move-to-to-rotate-and-move-forward/365543 "2023-10-27T22:16:21Z")

</div>

Hello, I want recreate project on UE4 from Unity. In example project character move to point and rotate to move direction. I want it rotate and move only forward direction and not have problem with physics and not stuck…

---

## [Extend StateTree via C++ as opposed to blueprint](https://forums.unrealengine.com/t/extend-statetree-via-c-as-opposed-to-blueprint/1302499)

<div class="topic-metadata">

**Author:** [@olivier.perrault](https://forums.unrealengine.com/u/olivier.perrault)\
**Replies:** 1\
**Last updated:** [October 27, 2023, 1:42pm UTC](https://forums.unrealengine.com/t/extend-statetree-via-c-as-opposed-to-blueprint/1302499 "2023-10-27T13:42:22Z")

</div>

When trying to extend StateTree tasks and evaluators, I find only StateTreeTaskBlueprintBase, StateTreeEvaluatorBlueprintBase, StateTreeConditionBlueprintBase. Why am I not allowed to extend these functionalities via C+…

---

## [publishing your island](https://forums.unrealengine.com/t/publishing-your-island/1345651)

<div class="topic-metadata">

**Author:** [@Mr.Clickisag](https://forums.unrealengine.com/u/Mr.Clickisag)\
**Replies:** 0\
**Last updated:** [October 26, 2023, 2:16am UTC](https://forums.unrealengine.com/t/publishing-your-island/1345651 "2023-10-26T02:16:01Z")

</div>

Does anyone know how to get passed being rejected when submitting your island? Ive gotten rejected many times now for no reason.

---

## [Detection issues in CitySample](https://forums.unrealengine.com/t/detection-issues-in-citysample/1343091)

<div class="topic-metadata">

**Author:** [@laplacedemons](https://forums.unrealengine.com/u/laplacedemons)\
**Replies:** 0\
**Last updated:** [October 24, 2023, 4:22pm UTC](https://forums.unrealengine.com/t/detection-issues-in-citysample/1343091 "2023-10-24T16:22:40Z")

</div>

I would like to ask a question about the detection in CitySample. Just like in the picture, when I control the character to enter a vehicle parked on the roadside and drive to the middle of the road, the AI-controlled…

---

## [AI patrol moving along spline](https://forums.unrealengine.com/t/ai-patrol-moving-along-spline/392583)

<div class="topic-metadata">

**Author:** [@hidrogen](https://forums.unrealengine.com/u/hidrogen)\
**Replies:** 3\
**Last updated:** [October 23, 2023, 8:54pm UTC](https://forums.unrealengine.com/t/ai-patrol-moving-along-spline/392583 "2023-10-23T20:54:43Z")

</div>

I have defined a spline path to move my first player pawn actor (like 2.5 sidescroller style game). I want to define some point of this spline as target point for my AI Bot to patrol, and want this AI BOT move along the…

---

## [ World Partitioned Navigation Mesh guide - only part of world gets a covered by navdata chunks](https://forums.unrealengine.com/t/world-partitioned-navigation-mesh-guide-only-part-of-world-gets-a-covered-by-navdata-chunks/1304323)

<div class="topic-metadata">

**Author:** [@dinria](https://forums.unrealengine.com/u/dinria)\
**Replies:** 1\
**Last updated:** [October 24, 2023, 5:05am UTC](https://forums.unrealengine.com/t/world-partitioned-navigation-mesh-guide-only-part-of-world-gets-a-covered-by-navdata-chunks/1304323 "2023-10-24T05:05:17Z")

</div>

I tried the world partitioned navigation mesh as described in the guide World Partitioned Navigation Mesh | Unreal Engine 5.3 Documentation. However, I cannot get it to work. When I run the action build paths only a quar…

---

## [Ai Does not move after packaging in all levels](https://forums.unrealengine.com/t/ai-does-not-move-after-packaging-in-all-levels/482413)

<div class="topic-metadata">

**Author:** [@NoobNozzle](https://forums.unrealengine.com/u/NoobNozzle)\
**Replies:** 2\
**Last updated:** [October 24, 2023, 4:04am UTC](https://forums.unrealengine.com/t/ai-does-not-move-after-packaging-in-all-levels/482413 "2023-10-24T04:04:55Z")

</div>

I created a Behavior tree for my AI, and when I play it without ue4 engine, as a standalone game it works perfectly but as soon as I package it, the AI does not do what its supposed to do, it does not move to the player …

---

## [How to change Default Player Controller to AI controller ?](https://forums.unrealengine.com/t/how-to-change-default-player-controller-to-ai-controller/1338654)

<div class="topic-metadata">

**Author:** [@ulanov1707](https://forums.unrealengine.com/u/ulanov1707)\
**Replies:** 1\
**Last updated:** [October 22, 2023, 6:34am UTC](https://forums.unrealengine.com/t/how-to-change-default-player-controller-to-ai-controller/1338654 "2023-10-22T06:34:23Z")

</div>

hey devs is there a way to make default pawn an AI , what i want is that when the game starts my deafault apawn will be an AI it will run its BT , and i as a player can only spectati him with its camera thats it ,so i ne…

---

## [UE5 level transition breaks AI character patrol behavior and movement](https://forums.unrealengine.com/t/ue5-level-transition-breaks-ai-character-patrol-behavior-and-movement/1339174)

<div class="topic-metadata">

**Author:** [@Develop2326](https://forums.unrealengine.com/u/Develop2326)\
**Replies:** 2\
**Last updated:** [October 21, 2023, 8:40pm UTC](https://forums.unrealengine.com/t/ue5-level-transition-breaks-ai-character-patrol-behavior-and-movement/1339174 "2023-10-21T20:40:52Z")

</div>

My AI movement (patrol, chasing, walk/run animations) all worked fine until I implemented a level transition from the first level to the second. Now, the AI just stands there after the transition, and even when I load th…

---

## [How can I tell when an AI has reached it's destination when using State Tree?](https://forums.unrealengine.com/t/how-can-i-tell-when-an-ai-has-reached-its-destination-when-using-state-tree/1323567)

<div class="topic-metadata">

**Author:** [@Rosy](https://forums.unrealengine.com/u/Rosy)\
**Replies:** 1\
**Last updated:** [October 16, 2023, 1:59pm UTC](https://forums.unrealengine.com/t/how-can-i-tell-when-an-ai-has-reached-its-destination-when-using-state-tree/1323567 "2023-10-16T13:59:35Z")

</div>

I can’t figure it out. I tried to use the AI MoveTo node, but it doesn’t exist in functions. It feels like I’m missing something

---

## [Feet acting weird when AI plays animation montage](https://forums.unrealengine.com/t/feet-acting-weird-when-ai-plays-animation-montage/1334001)

<div class="topic-metadata">

**Author:** [@PhrygianSkittles](https://forums.unrealengine.com/u/PhrygianSkittles)\
**Replies:** 0\
**Last updated:** [October 16, 2023, 6:46am UTC](https://forums.unrealengine.com/t/feet-acting-weird-when-ai-plays-animation-montage/1334001 "2023-10-16T06:46:16Z")

</div>

So here’s what they’re supposed to look like vs what I’m getting. When I originally set the montages up, the feet just slid into the positions in the animations, but they started acting weird later on. I tried to recreat…

---

## [Why is my Blackboard Object Key returning "None" in Debugging after I set it's base class?](https://forums.unrealengine.com/t/why-is-my-blackboard-object-key-returning-none-in-debugging-after-i-set-its-base-class/1333378)

<div class="topic-metadata">

**Author:** [@SolidSmyth1](https://forums.unrealengine.com/u/SolidSmyth1)\
**Replies:** 0\
**Last updated:** [October 15, 2023, 2:59pm UTC](https://forums.unrealengine.com/t/why-is-my-blackboard-object-key-returning-none-in-debugging-after-i-set-its-base-class/1333378 "2023-10-15T14:59:14Z")

</div>

Hi! I am a bit new to Unreal but I am familiar with behavior trees from working in Unity and wanted to try my hand at making AI in Unreal. I have run into an Incredibly Frustrating issue involving the Object Key Types in…

---

## [Prevent Bheavior Tree from aborting Move To](https://forums.unrealengine.com/t/prevent-bheavior-tree-from-aborting-move-to/1306241)

<div class="topic-metadata">

**Author:** [@m5m](https://forums.unrealengine.com/u/m5m)\
**Replies:** 3\
**Last updated:** [October 13, 2023, 2:18pm UTC](https://forums.unrealengine.com/t/prevent-bheavior-tree-from-aborting-move-to/1306241 "2023-10-13T14:18:54Z")

</div>

Let’s say I want an NPC controlled by a behavior tree to move from point A to exactly point B, using the Move To task. While the NPC is on their way, the player stands on point B, which makes it impossible for the NPC to…

---

## [AI group walking issues](https://forums.unrealengine.com/t/ai-group-walking-issues/1321514)

<div class="topic-metadata">

**Author:** [@Tonetfal](https://forums.unrealengine.com/u/Tonetfal)\
**Replies:** 3\
**Last updated:** [October 11, 2023, 9:55am UTC](https://forums.unrealengine.com/t/ai-group-walking-issues/1321514 "2023-10-11T09:55:37Z")

</div>

Hello, I’m making a game where many AI character have to follow same point. The problem however is that they collide with each other, and when they get to a certain point, the AI characters that were behind others, remai…

---

## [issue on behavior tree](https://forums.unrealengine.com/t/issue-on-behavior-tree/1264160)

<div class="topic-metadata">

**Author:** [@Nevarim\_Denarai](https://forums.unrealengine.com/u/Nevarim_Denarai)\
**Replies:** 2\
**Last updated:** [October 10, 2023, 7:00pm UTC](https://forums.unrealengine.com/t/issue-on-behavior-tree/1264160 "2023-10-10T19:00:17Z")

</div>

i have a problem: i setup a service on a selector, for check a boolean from a blueprint, then i setup 2 selector each with a check on that boolean When i play the check won’t go this is the service

---

## [How do I trigger a SmartObject's GameplayBehavior\_BehaviorTree?](https://forums.unrealengine.com/t/how-do-i-trigger-a-smartobjects-gameplaybehavior-behaviortree/1322245)

<div class="topic-metadata">

**Author:** [@EMzuki](https://forums.unrealengine.com/u/EMzuki)\
**Replies:** 1\
**Last updated:** [October 9, 2023, 2:35pm UTC](https://forums.unrealengine.com/t/how-do-i-trigger-a-smartobjects-gameplaybehavior-behaviortree/1322245 "2023-10-09T14:35:33Z")

</div>

I’m trying to find a way to use a Behavior Tree as the BehaviorDefiniton for a SmartObject. I noticed that the GameplayBehaviorsModule already provides a behavior definition called UGameplayBehavior\_BehaviorTree. A regul…

---

## [Controlling the camera on an AI pawn](https://forums.unrealengine.com/t/controlling-the-camera-on-an-ai-pawn/351162)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_fc8f7f86](https://forums.unrealengine.com/u/anonymous_user_fc8f7f86)\
**Replies:** 3\
**Last updated:** [October 9, 2023, 4:04am UTC](https://forums.unrealengine.com/t/controlling-the-camera-on-an-ai-pawn/351162 "2023-10-09T04:04:36Z")

</div>

Hey! I’m using the third person example where the camera is focusing the pawn and the camera is controllable with the mouse. Now I want to unpossess the pawn, so that the AIController can do a specific job (run to a poi…

---

## [What is the best approach for Directional Gravity and AI Navigation on rotating platforms](https://forums.unrealengine.com/t/what-is-the-best-approach-for-directional-gravity-and-ai-navigation-on-rotating-platforms/444042)

<div class="topic-metadata">

**Author:** [@XadE](https://forums.unrealengine.com/u/XadE)\
**Replies:** 1\
**Last updated:** [October 8, 2023, 8:36pm UTC](https://forums.unrealengine.com/t/what-is-the-best-approach-for-directional-gravity-and-ai-navigation-on-rotating-platforms/444042 "2023-10-08T20:36:25Z")

</div>

Hi there, I’m using the Unreal Engine since 4.4 version. Now I am facing a great challenge. I have to create a system that will support directional gravity and also work perfectly with the AI navigation system. Modifyin…

---

## [wat title?](https://forums.unrealengine.com/t/wat-title/1326158)

<div class="topic-metadata">

**Author:** [@MikelKram](https://forums.unrealengine.com/u/MikelKram)\
**Replies:** 0\
**Last updated:** [October 8, 2023, 1:22pm UTC](https://forums.unrealengine.com/t/wat-title/1326158 "2023-10-08T13:22:37Z")

</div>

After any changes to the RecastNavmesh, the actors stop moving.

---

## [Stuck on root node when running behavior tree](https://forums.unrealengine.com/t/stuck-on-root-node-when-running-behavior-tree/310871)

<div class="topic-metadata">

**Author:** [@jechli\_1](https://forums.unrealengine.com/u/jechli_1)\
**Replies:** 11\
**Last updated:** [April 9, 2023, 5:02pm UTC](https://forums.unrealengine.com/t/stuck-on-root-node-when-running-behavior-tree/310871 "2023-04-09T17:02:41Z")

</div>

Here’s a screenshot of what I mean: The root node of the behavior tree is the only one running. Is there a specific reason for this? This same behavior tree sequence worked in 4.6, so I’m wondering if anything change…

---

## [How to ignore self in EQS?](https://forums.unrealengine.com/t/how-to-ignore-self-in-eqs/305940)

<div class="topic-metadata">

**Author:** [@ganeshpingale](https://forums.unrealengine.com/u/ganeshpingale)\
**Replies:** 4\
**Last updated:** [October 5, 2023, 1:32am UTC](https://forums.unrealengine.com/t/how-to-ignore-self-in-eqs/305940 "2023-10-05T01:32:06Z")

</div>

how to ignore the actor class which is running the EQS query? Eg. if AI Character is running the query to search actor class of AI\_Character.

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

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