# AI

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

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

**Page:** 34

---

## [AI Enemy won't move no matter what](https://forums.unrealengine.com/t/ai-enemy-wont-move-no-matter-what/824072)

<div class="topic-metadata">

**Author:** [@Guesscui2018](https://forums.unrealengine.com/u/Guesscui2018)\
**Replies:** 6\
**Last updated:** [May 3, 2023, 2:25am UTC](https://forums.unrealengine.com/t/ai-enemy-wont-move-no-matter-what/824072 "2023-05-03T02:25:33Z")

</div>

I’m trying to create a simple AI, it should move randomly around, I followed Uisco’s tutorial of Retro FPS. My behavior tree and moverandomly task seem worked fine, I’ve tested with string node. But somehow the AI enemy…

---

## [How do I implement GPT into an NPC?](https://forums.unrealengine.com/t/how-do-i-implement-gpt-into-an-npc/791486)

<div class="topic-metadata">

**Author:** [@SweetBlackNuts](https://forums.unrealengine.com/u/SweetBlackNuts)\
**Replies:** 3\
**Last updated:** [May 3, 2023, 1:27am UTC](https://forums.unrealengine.com/t/how-do-i-implement-gpt-into-an-npc/791486 "2023-05-03T01:27:56Z")

</div>

Hey everyone, So I recently have seen some examples of GTP-3 and chatGPT being used as a way to create procedurally generated NPC dialogue. From this casual research I am greatly inspired by it all, however I want to c…

---

## [Huge performance hit after using an AI](https://forums.unrealengine.com/t/huge-performance-hit-after-using-an-ai/922173)

<div class="topic-metadata">

**Author:** [@CG\_Taboret](https://forums.unrealengine.com/u/CG_Taboret)\
**Replies:** 2\
**Last updated:** [May 2, 2023, 5:39pm UTC](https://forums.unrealengine.com/t/huge-performance-hit-after-using-an-ai/922173 "2023-05-02T17:39:39Z")

</div>

Hi, I’m having a really annoying problem with HUGE performance drops after placing the AI ​​in a level. Just by placing it my fps are divided by 2 ( worth adding, that it only happens while I look at it, when it is in s…

---

## [Simple AI with Behavior Trees - Agro?](https://forums.unrealengine.com/t/simple-ai-with-behavior-trees-agro/303678)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_e50a434a](https://forums.unrealengine.com/u/anonymous_user_e50a434a)\
**Replies:** 7\
**Last updated:** [May 1, 2023, 5:11pm UTC](https://forums.unrealengine.com/t/simple-ai-with-behavior-trees-agro/303678 "2023-05-01T17:11:34Z")

</div>

Hi everyone! So im struggling a bit to make AI, and my struggle is within the Behavior Tree. Im managing to get the AI to follow the player or patrol around the navmesh - basically i’m able to get the AI to execute simp…

---

## [Wanting to create a portal style system that allows two actors to talk to each other in different levels](https://forums.unrealengine.com/t/wanting-to-create-a-portal-style-system-that-allows-two-actors-to-talk-to-each-other-in-different-levels/1144538)

<div class="topic-metadata">

**Author:** [@Voidion](https://forums.unrealengine.com/u/Voidion)\
**Replies:** 6\
**Last updated:** [April 27, 2023, 6:32pm UTC](https://forums.unrealengine.com/t/wanting-to-create-a-portal-style-system-that-allows-two-actors-to-talk-to-each-other-in-different-levels/1144538 "2023-04-27T18:32:52Z")

</div>

Hi, I’m new to Unreal and Game Dev in general and I’m trying to figure out how to do something that I’m having difficulty finding information on via forums, and general searching. I’m wanting to create a feature that ena…

---

## [Should the Behavior Tree Task or Decorator Break out of a Task that Runs Over Several Frames?](https://forums.unrealengine.com/t/should-the-behavior-tree-task-or-decorator-break-out-of-a-task-that-runs-over-several-frames/1145272)

<div class="topic-metadata">

**Author:** [@JoeProgram](https://forums.unrealengine.com/u/JoeProgram)\
**Replies:** 1\
**Last updated:** [April 27, 2023, 1:52pm UTC](https://forums.unrealengine.com/t/should-the-behavior-tree-task-or-decorator-break-out-of-a-task-that-runs-over-several-frames/1145272 "2023-04-27T13:52:12Z")

</div>

Hello! Unreal newbie here. I’m making a game like the classic Mario Party Bumper Balls - each player or AI agent controls a berry and tries to push the other ones off the plate. I have a simple Behavior Tree cont…

---

## [Ai Character Pawn wont chase beyond PlayerStart](https://forums.unrealengine.com/t/ai-character-pawn-wont-chase-beyond-playerstart/780840)

<div class="topic-metadata">

**Author:** [@Matte\_P](https://forums.unrealengine.com/u/Matte_P)\
**Replies:** 16\
**Last updated:** [April 24, 2023, 11:56pm UTC](https://forums.unrealengine.com/t/ai-character-pawn-wont-chase-beyond-playerstart/780840 "2023-04-24T23:56:18Z")

</div>

Hey all, I have a Flying Ai enemy-type Character BP that navigates to the PlayerStart position -OR- the Play From Here position and doesnt update location from there to chase my player. Player is a Pawn BP and am pretty…

---

## [Mass Entity Config doesn't see my State Trees](https://forums.unrealengine.com/t/mass-entity-config-doesnt-see-my-state-trees/693845)

<div class="topic-metadata">

**Author:** [@Dmitrii\_Kolchin](https://forums.unrealengine.com/u/Dmitrii_Kolchin)\
**Replies:** 3\
**Last updated:** [April 21, 2023, 2:50am UTC](https://forums.unrealengine.com/t/mass-entity-config-doesnt-see-my-state-trees/693845 "2023-04-21T02:50:24Z")

</div>

Hi everyone! I’m currently trying to get acquainted with new UE5 features such as Mass AI and State Trees, and got an interesting outcome. I’ve created a Mass Entity Config data asset, added “State Tree” trait and … it…

---

## [AI Sens Implementation : How to override one ?](https://forums.unrealengine.com/t/ai-sens-implementation-how-to-override-one/1107325)

<div class="topic-metadata">

**Author:** [@Aherys](https://forums.unrealengine.com/u/Aherys)\
**Replies:** 2\
**Last updated:** [April 19, 2023, 3:29pm UTC](https://forums.unrealengine.com/t/ai-sens-implementation-how-to-override-one/1107325 "2023-04-19T15:29:44Z")

</div>

Hello, Simple question, i would like to modify for AISens\_Hearing (in c++). I’ve inherited a new class from it, but when you change “implementation” : Then no stimuli is registered. I’ve digged into source code, b…

---

## [Set blackboard value in tree](https://forums.unrealengine.com/t/set-blackboard-value-in-tree/443692)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_6e65e547](https://forums.unrealengine.com/u/anonymous_user_6e65e547)\
**Replies:** 7\
**Last updated:** [February 25, 2019, 6:33pm UTC](https://forums.unrealengine.com/t/set-blackboard-value-in-tree/443692 "2019-02-25T18:33:16Z")

</div>

Hi there! How can I set a blackboard value (boolean) in behavior tree? Do I must create a task to do it? It seems dirty to me, to change it there. The boolean selects which parts of the tree should be executed so to me …

---

## [\[4.7.4\] Holding a mouse button gives inaccurate mouse coordinates](https://forums.unrealengine.com/t/4-7-4-holding-a-mouse-button-gives-inaccurate-mouse-coordinates/318166)

<div class="topic-metadata">

**Author:** [@HateDread](https://forums.unrealengine.com/u/HateDread)\
**Replies:** 2\
**Last updated:** [May 18, 2015, 2:19pm UTC](https://forums.unrealengine.com/t/4-7-4-holding-a-mouse-button-gives-inaccurate-mouse-coordinates/318166 "2015-05-18T14:19:00Z")

</div>

This is the case for getting mouse coordinates as screen coordinates, as coordinates in world space, and as mouse axis values (tested in blueprint and in C++). I have created a repro project, where I execute some silly …

---

## [AI not moving help](https://forums.unrealengine.com/t/ai-not-moving-help/1092116)

<div class="topic-metadata">

**Author:** [@craig391999](https://forums.unrealengine.com/u/craig391999)\
**Replies:** 8\
**Last updated:** [April 18, 2023, 4:13pm UTC](https://forums.unrealengine.com/t/ai-not-moving-help/1092116 "2023-04-18T16:13:36Z")

</div>

Link to video of the problem with I have with the AI in my project. If you know what the problem is or know someone who can help me please let me know. Video Link: AI not working in Unreal - YouTube

---

## [Start path with radius from forward vector then calc the spline path](https://forums.unrealengine.com/t/start-path-with-radius-from-forward-vector-then-calc-the-spline-path/1088496)

<div class="topic-metadata">

**Author:** [@br\_chickn](https://forums.unrealengine.com/u/br_chickn)\
**Replies:** 3\
**Last updated:** [April 18, 2023, 9:23am UTC](https://forums.unrealengine.com/t/start-path-with-radius-from-forward-vector-then-calc-the-spline-path/1088496 "2023-04-18T09:23:42Z")

</div>

Currently the path finding does not take in account the pawns forward vector. I would like to have the start of the path follow a radius until it hits the a point and creates the rest of the path from the tangent point. …

---

## [What does an error like this mean?](https://forums.unrealengine.com/t/what-does-an-error-like-this-mean/909048)

<div class="topic-metadata">

**Author:** [@UnrealPanda](https://forums.unrealengine.com/u/UnrealPanda)\
**Replies:** 2\
**Last updated:** [April 17, 2023, 8:21am UTC](https://forums.unrealengine.com/t/what-does-an-error-like-this-mean/909048 "2023-04-17T08:21:09Z")

</div>

Can somebody explain to me what this error means and how I can fix this? When loading in a level this error keeps popping up: Blueprint Runtime Error: “Accessed None trying to read property ActivePath”. Node: Return No…

---

## [What is the future of neural networks in Unreal Engine?](https://forums.unrealengine.com/t/what-is-the-future-of-neural-networks-in-unreal-engine/1080904)

<div class="topic-metadata">

**Author:** [@Alexs2023](https://forums.unrealengine.com/u/Alexs2023)\
**Replies:** 0\
**Last updated:** [April 17, 2023, 7:16am UTC](https://forums.unrealengine.com/t/what-is-the-future-of-neural-networks-in-unreal-engine/1080904 "2023-04-17T07:16:31Z")

</div>

Hello, recently I got acquainted with a neural network and remain deeply impressed by its applications. I imagine a near future where we can open Unreal Engine 6 and interact with the neural network using voice commands…

---

## [Why one single behavior tree controls all instances of the Ai character? Why they don't have dedicated BT each?](https://forums.unrealengine.com/t/why-one-single-behavior-tree-controls-all-instances-of-the-ai-character-why-they-dont-have-dedicated-bt-each/582898)

<div class="topic-metadata">

**Author:** [@dorusoftware](https://forums.unrealengine.com/u/dorusoftware)\
**Replies:** 5\
**Last updated:** [April 13, 2023, 12:34pm UTC](https://forums.unrealengine.com/t/why-one-single-behavior-tree-controls-all-instances-of-the-ai-character-why-they-dont-have-dedicated-bt-each/582898 "2023-04-13T12:34:57Z")

</div>

I’ve followed the unreal tutorial about behaivour trees and I’ve managed to create it successfully. The AI actor does what is expected, if it sees me it will always try to follow me and arrive at my position. Now I’ve d…

---

## [AI Sensing Projectiles as Character?](https://forums.unrealengine.com/t/ai-sensing-projectiles-as-character/885146)

<div class="topic-metadata">

**Author:** [@Brad99](https://forums.unrealengine.com/u/Brad99)\
**Replies:** 0\
**Last updated:** [April 11, 2023, 7:16am UTC](https://forums.unrealengine.com/t/ai-sensing-projectiles-as-character/885146 "2023-04-11T07:16:21Z")

</div>

In short, Im trying to implement a system where the ai turns towards the player is hit by a projectile. However, OnPerceptionUpdate is triggered by my projectiles and the array includes my character as an actor. The AI o…

---

## [Use aiMoveTo on a posessed pawn](https://forums.unrealengine.com/t/use-aimoveto-on-a-posessed-pawn/880998)

<div class="topic-metadata">

**Author:** [@Mann\_mit\_Hut](https://forums.unrealengine.com/u/Mann_mit_Hut)\
**Replies:** 1\
**Last updated:** [April 9, 2023, 3:50pm UTC](https://forums.unrealengine.com/t/use-aimoveto-on-a-posessed-pawn/880998 "2023-04-09T15:50:36Z")

</div>

Hello guys! I started from the 3rdPersonBlueprint, when i possess it, i can of course move around with WASD. When i possess a second one with an AIController, i can send it some Location with AIMoveTo, and it walks ther…

---

## [2d Platformer Navmesh - navmesh can't figure specific path](https://forums.unrealengine.com/t/2d-platformer-navmesh-navmesh-cant-figure-specific-path/248826)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_e18bb259](https://forums.unrealengine.com/u/anonymous_user_e18bb259)\
**Replies:** 2\
**Last updated:** [April 9, 2023, 2:45pm UTC](https://forums.unrealengine.com/t/2d-platformer-navmesh-navmesh-cant-figure-specific-path/248826 "2023-04-09T14:45:21Z")

</div>

video link Hi. I’m making a follower ai for a 2d platformer enemy. As you see, the pathfinder cannot find a path when x axes of target(player char) and ai are same but z axes are different. I tried to put the nav link…

---

## [Actor Can't Move](https://forums.unrealengine.com/t/actor-cant-move/834787)

<div class="topic-metadata">

**Author:** [@NightmareGames](https://forums.unrealengine.com/u/NightmareGames)\
**Replies:** 9\
**Last updated:** [April 8, 2023, 4:43pm UTC](https://forums.unrealengine.com/t/actor-cant-move/834787 "2023-04-08T16:43:18Z")

</div>

I have an Unreal 5 actor with some basic blueprints involving a “Simple Move to Location”. I’ve created a NavMeshBoundsVolume, and both the actor and destination point are inside it. The actor’s mesh isn’t inside any…

---

## [Navmesh for editor only actors in the level](https://forums.unrealengine.com/t/navmesh-for-editor-only-actors-in-the-level/871842)

<div class="topic-metadata">

**Author:** [@xinyu\_nmm](https://forums.unrealengine.com/u/xinyu_nmm)\
**Replies:** 0\
**Last updated:** [April 7, 2023, 12:17pm UTC](https://forums.unrealengine.com/t/navmesh-for-editor-only-actors-in-the-level/871842 "2023-04-07T12:17:07Z")

</div>

I have several editor only actors in my level. When I generate navmesh, it covers the editor only actors too, but actually, they are not loaded in the game, which means the navmesh doesn’t fit the level in the game. Can …

---

## [Users/Shared/Epic Games/UE\_4.27/Engine/Source/Runtime/Core/Public/UObject/NameTypes.h:536:10: error: use of bitwise '&' with boolean operands \[-Werror,-Wbitwise-instead-of-logical\]](https://forums.unrealengine.com/t/users-shared-epic-games-ue-4-27-engine-source-runtime-core-public-uobject-nametypes-h10-error-use-of-bitwise-with-boolean-operands-werror-wbitwise-instead-of-logical/864440)

<div class="topic-metadata">

**Author:** [@Rovmit](https://forums.unrealengine.com/u/Rovmit)\
**Replies:** 0\
**Last updated:** [April 6, 2023, 6:51pm UTC](https://forums.unrealengine.com/t/users-shared-epic-games-ue-4-27-engine-source-runtime-core-public-uobject-nametypes-h10-error-use-of-bitwise-with-boolean-operands-werror-wbitwise-instead-of-logical/864440 "2023-04-06T18:51:46Z")

</div>

Hello, I found a method to solve the problem, we need to download xcode 13.4.1 from the apple developer archive. We extract from the archive and copy xcode 13.4.1 into the applications. We change the name xcode 14 ++ to …

---

## [How do I create an enemy that wanders freely around the map looking for the player?](https://forums.unrealengine.com/t/how-do-i-create-an-enemy-that-wanders-freely-around-the-map-looking-for-the-player/863018)

<div class="topic-metadata">

**Author:** [@Joshy\_Andoni](https://forums.unrealengine.com/u/Joshy_Andoni)\
**Replies:** 2\
**Last updated:** [April 6, 2023, 5:52pm UTC](https://forums.unrealengine.com/t/how-do-i-create-an-enemy-that-wanders-freely-around-the-map-looking-for-the-player/863018 "2023-04-06T17:52:20Z")

</div>

How do I make an imported 3d model or animation, move around the map looking for the player to catch him, taking into account the visualization dead spots that the enemy will have (He can’t see behind his back, that’s ob…

---

## [AI dude stopped rotating](https://forums.unrealengine.com/t/ai-dude-stopped-rotating/604369)

<div class="topic-metadata">

**Author:** [@Lowenfas](https://forums.unrealengine.com/u/Lowenfas)\
**Replies:** 1\
**Last updated:** [April 5, 2023, 5:32pm UTC](https://forums.unrealengine.com/t/ai-dude-stopped-rotating/604369 "2023-04-05T17:32:31Z")

</div>

I had my AI working, then I done fudged up and apparently did something wrong and now my guy does not rotate. I made sure Controller Rotation Yaw is disabled, Orient Rotation to Movement is disabled, and Use Controller …

---

## [Behaviour tree decorator question](https://forums.unrealengine.com/t/behaviour-tree-decorator-question/852988)

<div class="topic-metadata">

**Author:** [@Riipitud1](https://forums.unrealengine.com/u/Riipitud1)\
**Replies:** 1\
**Last updated:** [April 5, 2023, 5:14pm UTC](https://forums.unrealengine.com/t/behaviour-tree-decorator-question/852988 "2023-04-05T17:14:04Z")

</div>

How to achieve the same effect as in the image, but with checking if the “CurrentHour” is larger then 22 OR smaller then 9. Currently it just checks the first value and if it isnt right, it fails.

---

## [Decorator Ticking Regardless of "Check Condition Only Black Board Changes"](https://forums.unrealengine.com/t/decorator-ticking-regardless-of-check-condition-only-black-board-changes/404703)

<div class="topic-metadata">

**Author:** [@BrendanLoBuglio](https://forums.unrealengine.com/u/BrendanLoBuglio)\
**Replies:** 2\
**Last updated:** [April 5, 2023, 4:55pm UTC](https://forums.unrealengine.com/t/decorator-ticking-regardless-of-check-condition-only-black-board-changes/404703 "2023-04-05T16:55:47Z")

</div>

In the following Behavior tree, I’m trying to test the functionality of an abortable Decorator that is only evaluated when a Blackboard value is changed, rather than on every tick. My expected behavior is that when t…

---

## [\[SOLVED\]Nav path is returning valid and not partial but is always blocked, why?](https://forums.unrealengine.com/t/solved-nav-path-is-returning-valid-and-not-partial-but-is-always-blocked-why/846335)

<div class="topic-metadata">

**Author:** [@TheDogtoy](https://forums.unrealengine.com/u/TheDogtoy)\
**Replies:** 0\
**Last updated:** [April 4, 2023, 11:12pm UTC](https://forums.unrealengine.com/t/solved-nav-path-is-returning-valid-and-not-partial-but-is-always-blocked-why/846335 "2023-04-04T23:12:20Z")

</div>

\[SOLVED\] characters need a “NavModifier” Component. Having an issue in a turn based tactical game using stock unreal nav mesh / pathfinding / movement. When getting a path to the AI’s back right quadrant, the path is r…

---

## [Move to nodes never finishes](https://forums.unrealengine.com/t/move-to-nodes-never-finishes/844044)

<div class="topic-metadata">

**Author:** [@PolygonArt\_WEN](https://forums.unrealengine.com/u/PolygonArt_WEN)\
**Replies:** 0\
**Last updated:** [April 4, 2023, 2:10pm UTC](https://forums.unrealengine.com/t/move-to-nodes-never-finishes/844044 "2023-04-04T14:10:16Z")

</div>

Hello, I’m stuck at my Behavior Tree as the default and custom move to nodes won’t complete. I made sure the points are reachable with insane large acceptens radius, projected it to the nav mesh, searched for a reac…

---

## [公式ドキュメントのビヘイビアツリーが動かない](https://forums.unrealengine.com/t/topic/426873)

<div class="topic-metadata">

**Author:** [@Anonymous\_ef44837a45d5e34e74b8886169cf9dcd](https://forums.unrealengine.com/u/Anonymous_ef44837a45d5e34e74b8886169cf9dcd)\
**Replies:** 4\
**Last updated:** [April 4, 2023, 3:04am UTC](https://forums.unrealengine.com/t/topic/426873 "2023-04-04T03:04:43Z")

</div>

公式ドキュメントのビヘイビアツリーのクイックスタートガイドを何度も同じものを作成して試しているのですがAIが動いてくれません ドキュメントのバージョンが古いのでしょうか? ビヘイビアツリーに関していろいろ調べていますが学ぶのに最適なサイトや資料もついでに教えて頂けると幸いです

---

## [MassAI ZoneGraph Vehicles stuck in corners](https://forums.unrealengine.com/t/massai-zonegraph-vehicles-stuck-in-corners/840526)

<div class="topic-metadata">

**Author:** [@juliuselias](https://forums.unrealengine.com/u/juliuselias)\
**Replies:** 0\
**Last updated:** [April 3, 2023, 3:17pm UTC](https://forums.unrealengine.com/t/massai-zonegraph-vehicles-stuck-in-corners/840526 "2023-04-03T15:17:28Z")

</div>

Hey, I’m trying to get a traffic simulation working, using MassAI, the traffic pluign and Zonegraphs. My vehicles keep getting stuck in corners and I can’t manage to isolate the problem. It’s not only the order radius.…

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

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