# AI

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

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

**Page:** 68

---

## [Navigation Memory Leak](https://forums.unrealengine.com/t/navigation-memory-leak/452881)

<div class="topic-metadata">

**Author:** [@rklsImmersion](https://forums.unrealengine.com/u/rklsImmersion)\
**Replies:** 1\
**Last updated:** [June 30, 2020, 7:32pm UTC](https://forums.unrealengine.com/t/navigation-memory-leak/452881 "2020-06-30T19:32:35Z")

</div>

I have 120 AI characters in a small, bare bones map. They do not have skeletal meshes and very little other logic. At creation they gather waypoints and store them in an array, then they call a function “OnMoveComplete” …

---

## [AI rotating too far when focusing on player?](https://forums.unrealengine.com/t/ai-rotating-too-far-when-focusing-on-player/146684)

<div class="topic-metadata">

**Author:** [@vslash9](https://forums.unrealengine.com/u/vslash9)\
**Replies:** 2\
**Last updated:** [June 30, 2020, 8:44am UTC](https://forums.unrealengine.com/t/ai-rotating-too-far-when-focusing-on-player/146684 "2020-06-30T08:44:32Z")

</div>

My AI is rotating too far when the player gets too close to it. Its using set focal point in behavior trees and I think its necessary to keep it constantly rotating while casting a spell. Any ideas?

---

## [Multiple Navigation Query filters](https://forums.unrealengine.com/t/multiple-navigation-query-filters/467389)

<div class="topic-metadata">

**Author:** [@hydr0k](https://forums.unrealengine.com/u/hydr0k)\
**Replies:** 0\
**Last updated:** [June 28, 2020, 11:41pm UTC](https://forums.unrealengine.com/t/multiple-navigation-query-filters/467389 "2020-06-28T23:41:16Z")

</div>

Is it possible to use several navigation query filters with an action like Move To Actor? I want to build several different filters and then add or remove them to an AI character as necessary. For example, I have an AI …

---

## [How do you get a Navigation path in UE4 4.20 in C++?](https://forums.unrealengine.com/t/how-do-you-get-a-navigation-path-in-ue4-4-20-in-c/432387)

<div class="topic-metadata">

**Author:** [@LDOGLONDON](https://forums.unrealengine.com/u/LDOGLONDON)\
**Replies:** 5\
**Last updated:** [June 28, 2020, 9:15am UTC](https://forums.unrealengine.com/t/how-do-you-get-a-navigation-path-in-ue4-4-20-in-c/432387 "2020-06-28T09:15:50Z")

</div>

I’m currently trying to figure out how to get a Navigation path for my pawn in C++.The way I’ve seen people get the path is by using GetWorld()-\>GetNavigationSystem()-\>FindPathToLocationSynchronously(). But, in UE4 4.2, …

---

## [Unreal Engine AI](https://forums.unrealengine.com/t/unreal-engine-ai/467335)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_bb9bdc6c](https://forums.unrealengine.com/u/anonymous_user_bb9bdc6c)\
**Replies:** 1\
**Last updated:** [June 27, 2020, 4:08pm UTC](https://forums.unrealengine.com/t/unreal-engine-ai/467335 "2020-06-27T16:08:14Z")

</div>

I want to know how to do AI in Unreal Engine 4.25 like making people walk on road or making them drive cars automatically like in those AAA Games… I know it is a bit difficult but please tell how to do it Regards

---

## [Basic AI enemy in level design](https://forums.unrealengine.com/t/basic-ai-enemy-in-level-design/146316)

<div class="topic-metadata">

**Author:** [@ewaryst88](https://forums.unrealengine.com/u/ewaryst88)\
**Replies:** 2\
**Last updated:** [June 27, 2020, 12:12pm UTC](https://forums.unrealengine.com/t/basic-ai-enemy-in-level-design/146316 "2020-06-27T12:12:47Z")

</div>

Hi I’m starting the adventure with level design and I’m at the stage of creating my first FPS level. I have already gone through many tutorials on how to design space for such levels and now it is time to test it with A…

---

## [AI not moving with Open Level](https://forums.unrealengine.com/t/ai-not-moving-with-open-level/467178)

<div class="topic-metadata">

**Author:** [@Chocojoey10](https://forums.unrealengine.com/u/Chocojoey10)\
**Replies:** 1\
**Last updated:** [June 24, 2020, 11:38am UTC](https://forums.unrealengine.com/t/ai-not-moving-with-open-level/467178 "2020-06-24T11:38:55Z")

</div>

Okay, so I am making a game with a main menu. On the main menu you can buy upgrades go to the character select and click on the character you want. When you click on one of the characters it changes the player character …

---

## [Environmental Queries Failing](https://forums.unrealengine.com/t/environmental-queries-failing/466940)

<div class="topic-metadata">

**Author:** [@ForrestS49](https://forums.unrealengine.com/u/ForrestS49)\
**Replies:** 0\
**Last updated:** [June 18, 2020, 10:15pm UTC](https://forums.unrealengine.com/t/environmental-queries-failing/466940 "2020-06-18T22:15:05Z")

</div>

Hello folks, I’m working through a tutorial building an AI that uses cover and shoots at the player, and the whole thing hinges on using EQs. However, I’m finding that my AI Pawn’s behavior tree is getting hung up on EQ…

---

## [Soft Object unloads when stored in the Blackboard](https://forums.unrealengine.com/t/soft-object-unloads-when-stored-in-the-blackboard/461925)

<div class="topic-metadata">

**Author:** [@fpwong](https://forums.unrealengine.com/u/fpwong)\
**Replies:** 3\
**Last updated:** [June 18, 2020, 7:36pm UTC](https://forums.unrealengine.com/t/soft-object-unloads-when-stored-in-the-blackboard/461925 "2020-06-18T19:36:04Z")

</div>

Issue: Load a soft object and directly place the loaded object into a blackboard. After around 2 minutes the object will unload and become null inside the blackboard. This issue only occurs in a packaged game or when run…

---

## [Use two different Agent Radius for two different levels?](https://forums.unrealengine.com/t/use-two-different-agent-radius-for-two-different-levels/466586)

<div class="topic-metadata">

**Author:** [@eduniga](https://forums.unrealengine.com/u/eduniga)\
**Replies:** 3\
**Last updated:** [June 11, 2020, 6:09pm UTC](https://forums.unrealengine.com/t/use-two-different-agent-radius-for-two-different-levels/466586 "2020-06-11T18:09:10Z")

</div>

Hey Eduniga, There are 2 things you can try, On your navmesh, you can select an agent. Or in your World Settings

---

## [Any idea why spawned character don't do anything?](https://forums.unrealengine.com/t/any-idea-why-spawned-character-dont-do-anything/466477)

<div class="topic-metadata">

**Author:** [@EdBennett](https://forums.unrealengine.com/u/EdBennett)\
**Replies:** 3\
**Last updated:** [June 9, 2020, 11:39pm UTC](https://forums.unrealengine.com/t/any-idea-why-spawned-character-dont-do-anything/466477 "2020-06-09T23:39:10Z")

</div>

I have a project where I spawn a zombie using this script: Now if I place that character in the level it works perfectly. However when I spawn it. It just stands their it look like it does not run the behaviour tree. …

---

## [Is the gaming future 3D?](https://forums.unrealengine.com/t/is-the-gaming-future-3d/466440)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_cd01f762](https://forums.unrealengine.com/u/anonymous_user_cd01f762)\
**Replies:** 0\
**Last updated:** [June 8, 2020, 10:03pm UTC](https://forums.unrealengine.com/t/is-the-gaming-future-3d/466440 "2020-06-08T22:03:45Z")

</div>

I am the North America distributor for PluraView which is the only approved 3D passive stereo monitor on the market with accurate depth perception . I feel the future of gaming is going to be 3D and the first company to …

---

## [Line Trace component ONLY working once?](https://forums.unrealengine.com/t/line-trace-component-only-working-once/466396)

<div class="topic-metadata">

**Author:** [@UnsealedWings](https://forums.unrealengine.com/u/UnsealedWings)\
**Replies:** 1\
**Last updated:** [June 8, 2020, 5:46am UTC](https://forums.unrealengine.com/t/line-trace-component-only-working-once/466396 "2020-06-08T05:46:30Z")

</div>

Hello! So, I’ve recently set up an AI that I can shoot and kill, However, I wanted to set up a headshot capability and I did, and it’s working, however, I’m using a Line Trace Component and it’s looking for a Sphere coll…

---

## [WMR in 4.25 ( and 4.25.1) is lag a lot](https://forums.unrealengine.com/t/wmr-in-4-25-and-4-25-1-is-lag-a-lot/466202)

<div class="topic-metadata">

**Author:** [@maxximum](https://forums.unrealengine.com/u/maxximum)\
**Replies:** 0\
**Last updated:** [June 4, 2020, 12:48am UTC](https://forums.unrealengine.com/t/wmr-in-4-25-and-4-25-1-is-lag-a-lot/466202 "2020-06-04T00:48:10Z")

</div>

Hello to you, I’m equipped with a HP Reverb and I’m starting but when I simply launch the base map of a VR project in 4.24 everything is very fluid on the other hand by doing the same thing with 4.25 it’s a disaster, I …

---

## [Custom pawn with AI and Player Controller](https://forums.unrealengine.com/t/custom-pawn-with-ai-and-player-controller/413405)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_342c85a4](https://forums.unrealengine.com/u/anonymous_user_342c85a4)\
**Replies:** 3\
**Last updated:** [June 2, 2020, 7:38pm UTC](https://forums.unrealengine.com/t/custom-pawn-with-ai-and-player-controller/413405 "2020-06-02T19:38:56Z")

</div>

Hi I wanted to ask how can I create a Pawn that has some specific functions… MoveForward, TurnLeft … which can be called by the PlayerController as well as the AIController and that the AIController would use it in navig…

---

## [AI character doesn't work on a different computer](https://forums.unrealengine.com/t/ai-character-doesnt-work-on-a-different-computer/465925)

<div class="topic-metadata">

**Author:** [@GWS](https://forums.unrealengine.com/u/GWS)\
**Replies:** 4\
**Last updated:** [June 2, 2020, 10:03am UTC](https://forums.unrealengine.com/t/ai-character-doesnt-work-on-a-different-computer/465925 "2020-06-02T10:03:05Z")

</div>

I have a pretty simple AI character set up with BP to roam in a level. It works when I run it in PIE as well as when I package and run on the same computer. But when I run the packaged project on a different computer (wi…

---

## [AI Stuttering when close](https://forums.unrealengine.com/t/ai-stuttering-when-close/466079)

<div class="topic-metadata">

**Author:** [@Myllz](https://forums.unrealengine.com/u/Myllz)\
**Replies:** 6\
**Last updated:** [June 1, 2020, 7:53pm UTC](https://forums.unrealengine.com/t/ai-stuttering-when-close/466079 "2020-06-01T19:53:34Z")

</div>

Hello, I have encountered an issue that is really starting to annoy me now I’m calling it a night atm just couldnt get this one done so figured maybe i’d ask here, will here is my issue, When My AI gets close to my follo…

---

## [Issues with AI movement](https://forums.unrealengine.com/t/issues-with-ai-movement/466102)

<div class="topic-metadata">

**Author:** [@HereIsJimmy](https://forums.unrealengine.com/u/HereIsJimmy)\
**Replies:** 0\
**Last updated:** [June 1, 2020, 5:45pm UTC](https://forums.unrealengine.com/t/issues-with-ai-movement/466102 "2020-06-01T17:45:09Z")

</div>

So I’ve been trying to make AI move around well, dodging each other, which Detour Crowd does quite well, but there are some Issues, like the AI not being able to move if a crowd is surrounding the pawn by the side where …

---

## [AI following issues](https://forums.unrealengine.com/t/ai-following-issues/465994)

<div class="topic-metadata">

**Author:** [@ChunkyCat](https://forums.unrealengine.com/u/ChunkyCat)\
**Replies:** 4\
**Last updated:** [May 30, 2020, 11:14pm UTC](https://forums.unrealengine.com/t/ai-following-issues/465994 "2020-05-30T23:14:02Z")

</div>

I am having an issue where the AI is not following the Player. I am using a behavior tree to create this AI and the character blueprint is a child blueprint for the AI. I have already made a Navmesh as well but nothing i…

---

## [Offset of player while I rotate](https://forums.unrealengine.com/t/offset-of-player-while-i-rotate/465980)

<div class="topic-metadata">

**Author:** [@Myllz](https://forums.unrealengine.com/u/Myllz)\
**Replies:** 1\
**Last updated:** [May 29, 2020, 6:42pm UTC](https://forums.unrealengine.com/t/offset-of-player-while-i-rotate/465980 "2020-05-29T18:42:07Z")

</div>

Hello, I have achieved what I want through using invisible actors and getting random location around those actors, but what I would like to do is have my AI follow to the right of my character, or infront of my player. C…

---

## [Setting Timer By Event executes 2 times in level](https://forums.unrealengine.com/t/setting-timer-by-event-executes-2-times-in-level/465861)

<div class="topic-metadata">

**Author:** [@Wolfy\_Royal](https://forums.unrealengine.com/u/Wolfy_Royal)\
**Replies:** 8\
**Last updated:** [May 27, 2020, 12:12pm UTC](https://forums.unrealengine.com/t/setting-timer-by-event-executes-2-times-in-level/465861 "2020-05-27T12:12:41Z")

</div>

I’m working on a game and recently I’ve noticed that the ‘Set Timer by Event’ executes 2 (two) times at same time and I’m not sure how to approach and get it fixed. The Timer event is inside the Level Blueprint and was …

---

## [How to calculate the angle between 2 characters](https://forums.unrealengine.com/t/how-to-calculate-the-angle-between-2-characters/465693)

<div class="topic-metadata">

**Author:** [@Anchufiastico\_Jr](https://forums.unrealengine.com/u/Anchufiastico_Jr)\
**Replies:** 5\
**Last updated:** [May 27, 2020, 7:40am UTC](https://forums.unrealengine.com/t/how-to-calculate-the-angle-between-2-characters/465693 "2020-05-27T07:40:52Z")

</div>

Hello! I hope I am well understood. I’m trying to do an AI with blueprint, when the AI ​​hits the player it stays still for a while and if the player dodges it it can go anywhere on the map. I want to know how to do t…

---

## [AI Navigation worked but now is not working](https://forums.unrealengine.com/t/ai-navigation-worked-but-now-is-not-working/465779)

<div class="topic-metadata">

**Author:** [@marxflamingleo](https://forums.unrealengine.com/u/marxflamingleo)\
**Replies:** 1\
**Last updated:** [May 26, 2020, 7:50pm UTC](https://forums.unrealengine.com/t/ai-navigation-worked-but-now-is-not-working/465779 "2020-05-26T19:50:19Z")

</div>

Hi, I’m really stuck here. I’ve already done the following tutorial and made it work for me before But now I’ve realized, after working on other aspects of my game, it doesn’t work anymore. I’ve tried oth…

---

## [Dynamic Navigation Mesh not updating correctly](https://forums.unrealengine.com/t/dynamic-navigation-mesh-not-updating-correctly/465747)

<div class="topic-metadata">

**Author:** [@roundpitt](https://forums.unrealengine.com/u/roundpitt)\
**Replies:** 2\
**Last updated:** [May 26, 2020, 7:50pm UTC](https://forums.unrealengine.com/t/dynamic-navigation-mesh-not-updating-correctly/465747 "2020-05-26T19:50:00Z")

</div>

Hello! I’m having an issue where the player character is supposed to block navigation for AIs. Problem is, While I can see the the Nav Mesh is being “Cut out” where the player is before I press play. Once I do press pla…

---

## [AI twitches on movement?](https://forums.unrealengine.com/t/ai-twitches-on-movement/465782)

<div class="topic-metadata">

**Author:** [@Virtual\_Bones](https://forums.unrealengine.com/u/Virtual_Bones)\
**Replies:** 5\
**Last updated:** [May 26, 2020, 10:28am UTC](https://forums.unrealengine.com/t/ai-twitches-on-movement/465782 "2020-05-26T10:28:35Z")

</div>

So I’ve had a lot of issues with the MoveTo node in the behavior tree. It wouldn’t work for a long time (Would always fail) but now I’ve managed to stop it from failing every tick (which I have no idea how I fixed it). B…

---

## [AI overview step by step](https://forums.unrealengine.com/t/ai-overview-step-by-step/140085)

<div class="topic-metadata">

**Author:** [@GhostInTheCommu](https://forums.unrealengine.com/u/GhostInTheCommu)\
**Replies:** 2\
**Last updated:** [May 25, 2020, 2:13pm UTC](https://forums.unrealengine.com/t/ai-overview-step-by-step/140085 "2020-05-25T14:13:37Z")

</div>

Hello you all ! I created this topic because as a beginner with game engines, I have troubles to get a clear Overview of the logic, process and ways to create AI depending of the needs. Internet is full of really well …

---

## [AI MoveTo causes twitching](https://forums.unrealengine.com/t/ai-moveto-causes-twitching/465736)

<div class="topic-metadata">

**Author:** [@Virtual\_Bones](https://forums.unrealengine.com/u/Virtual_Bones)\
**Replies:** 0\
**Last updated:** [May 24, 2020, 3:34pm UTC](https://forums.unrealengine.com/t/ai-moveto-causes-twitching/465736 "2020-05-24T15:34:19Z")

</div>

So I’ve had a lot of issues with the MoveTo node in the behavior tree. It wouldn’t work for a long time (Would always fail) but now I’ve managed to stop it from failing every tick (which I have no idea how I fixed it). B…

---

## [Does each SKU of a game counts as a separate product?](https://forums.unrealengine.com/t/does-each-sku-of-a-game-counts-as-a-separate-product/465389)

<div class="topic-metadata">

**Author:** [@StarCogge](https://forums.unrealengine.com/u/StarCogge)\
**Replies:** 1\
**Last updated:** [May 19, 2020, 2:12pm UTC](https://forums.unrealengine.com/t/does-each-sku-of-a-game-counts-as-a-separate-product/465389 "2020-05-19T14:12:43Z")

</div>

Hi, We are considering licensing Unreal Engine but I can’t find any information on how you define each version of the game in the EULA, if you are working on a game brand where each SKU/version could be a potential prod…

---

## [Is it possible to change AI Perception at Runtime?](https://forums.unrealengine.com/t/is-it-possible-to-change-ai-perception-at-runtime/465454)

<div class="topic-metadata">

**Author:** [@huangjiaming](https://forums.unrealengine.com/u/huangjiaming)\
**Replies:** 0\
**Last updated:** [May 19, 2020, 1:28pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-change-ai-perception-at-runtime/465454 "2020-05-19T13:28:19Z")

</div>

I want to change the AISenseConfig runtime,How to do this?

---

## [Pet Following System](https://forums.unrealengine.com/t/pet-following-system/465220)

<div class="topic-metadata">

**Author:** [@Myllz](https://forums.unrealengine.com/u/Myllz)\
**Replies:** 3\
**Last updated:** [May 19, 2020, 11:25am UTC](https://forums.unrealengine.com/t/pet-following-system/465220 "2020-05-19T11:25:24Z")

</div>

Hello! Currently trying to figure out how to create a follow system like a pet following behind me and then patrol around a set area around the player when I have stopped moving. I have most of it completed but I’m still…

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

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