# AI

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

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

**Page:** 29

---

## [Unable to duplicate objects that emit rays](https://forums.unrealengine.com/t/unable-to-duplicate-objects-that-emit-rays/1322543)

<div class="topic-metadata">

**Author:** [@Yuyaaaakuna](https://forums.unrealengine.com/u/Yuyaaaakuna)\
**Replies:** 0\
**Last updated:** [October 4, 2023, 6:02pm UTC](https://forums.unrealengine.com/t/unable-to-duplicate-objects-that-emit-rays/1322543 "2023-10-04T18:02:39Z")

</div>

I am studying behavior trees. I would like to create an enemy AI. Initially I implemented the ability to send rays straight from the enemy character. It works fine when only one of them is used, but when I duplicate i…

---

## [DynamicNavMesh dont work](https://forums.unrealengine.com/t/dynamicnavmesh-dont-work/1322413)

<div class="topic-metadata">

**Author:** [@Arigura](https://forums.unrealengine.com/u/Arigura)\
**Replies:** 0\
**Last updated:** [October 4, 2023, 4:15pm UTC](https://forums.unrealengine.com/t/dynamicnavmesh-dont-work/1322413 "2023-10-04T16:15:37Z")

</div>

Can you help me? Project for pmobile on UE 5.3 I have everything turned on, but the dynamic nav mesh does not work. When I use invokers, the nav mesh stays in place and does not move with them.

---

## [AI moving without a navmesh](https://forums.unrealengine.com/t/ai-moving-without-a-navmesh/1321162)

<div class="topic-metadata">

**Author:** [@RyanWMcEachern](https://forums.unrealengine.com/u/RyanWMcEachern)\
**Replies:** 2\
**Last updated:** [October 4, 2023, 3:48am UTC](https://forums.unrealengine.com/t/ai-moving-without-a-navmesh/1321162 "2023-10-04T03:48:00Z")

</div>

my navmesh wont work with this small static mesh I’m using. its a 2d world and only moves one direction turns around and comes back. is there anyway i can make it move to location without the navmesh or fix the staticmes…

---

## [Learning Agents fails](https://forums.unrealengine.com/t/learning-agents-fails/1281737)

<div class="topic-metadata">

**Author:** [@kexul22](https://forums.unrealengine.com/u/kexul22)\
**Replies:** 8\
**Last updated:** [October 3, 2023, 4:29pm UTC](https://forums.unrealengine.com/t/learning-agents-fails/1281737 "2023-10-03T16:29:15Z")

</div>

Hi, I’m using the Learning Agents plugin and try to build a simple task for my agent: Trace a target in the map. However, the training process randomly failed with the following information: LogLearning: Display: Traini…

---

## [the ai is moving before playing the animation](https://forums.unrealengine.com/t/the-ai-is-moving-before-playing-the-animation/1319705)

<div class="topic-metadata">

**Author:** [@mhmdamjd](https://forums.unrealengine.com/u/mhmdamjd)\
**Replies:** 0\
**Last updated:** [October 2, 2023, 9:55am UTC](https://forums.unrealengine.com/t/the-ai-is-moving-before-playing-the-animation/1319705 "2023-10-02T09:55:04Z")

</div>

i tried alot of settings i used use accelration for paths still he moves before the animation playes and when he complete his movement he plays the animation

---

## [What do I use for AI ''Apply Damage'' or ''Report Damage Event''](https://forums.unrealengine.com/t/what-do-i-use-for-ai-apply-damage-or-report-damage-event/715109)

<div class="topic-metadata">

**Author:** [@SamRiot32](https://forums.unrealengine.com/u/SamRiot32)\
**Replies:** 1\
**Last updated:** [October 2, 2023, 9:39am UTC](https://forums.unrealengine.com/t/what-do-i-use-for-ai-apply-damage-or-report-damage-event/715109 "2023-10-02T09:39:19Z")

</div>

Hi, I am working on creating AI for my self-study and my school project. and I know that AI can have different ‘‘Senses’’ with the use of ‘‘AIPerception’’ Now I am wondering when I want the AI to take damage (to be able…

---

## [AI-Controlled Pawns Not Moving When Spawned](https://forums.unrealengine.com/t/ai-controlled-pawns-not-moving-when-spawned/1317231)

<div class="topic-metadata">

**Author:** [@GV-Rafael-III](https://forums.unrealengine.com/u/GV-Rafael-III)\
**Replies:** 8\
**Last updated:** [October 1, 2023, 7:41am UTC](https://forums.unrealengine.com/t/ai-controlled-pawns-not-moving-when-spawned/1317231 "2023-10-01T07:41:43Z")

</div>

Let me preface this by saying that I’ve certainly Googled this issue and seen that it’s happened to a number of people in the past. Auto Possess AI is set to “Placed in World or Spawned” on the pawns in question, I’ve co…

---

## [Today's bug - EQS test preview bug (UE5.3.1)](https://forums.unrealengine.com/t/todays-bug-eqs-test-preview-bug-ue5-3-1/1317237)

<div class="topic-metadata">

**Author:** [@Ivan3z](https://forums.unrealengine.com/u/Ivan3z)\
**Replies:** 0\
**Last updated:** [September 30, 2023, 2:43am UTC](https://forums.unrealengine.com/t/todays-bug-eqs-test-preview-bug-ue5-3-1/1317237 "2023-09-30T02:43:04Z")

</div>

I’ve been thinking for two hours that there was a problem in my code. Until I realized that this also happens using the default generators. I hope my waste of time to be usefull to fix this. The bug is fixed if you re…

---

## [How can I fix this bug?](https://forums.unrealengine.com/t/how-can-i-fix-this-bug/1317108)

<div class="topic-metadata">

**Author:** [@canFROGGIA](https://forums.unrealengine.com/u/canFROGGIA)\
**Replies:** 0\
**Last updated:** [September 29, 2023, 11:56pm UTC](https://forums.unrealengine.com/t/how-can-i-fix-this-bug/1317108 "2023-09-29T23:56:26Z")

</div>

---

## [Engine is crashing while using the behavior tree editor](https://forums.unrealengine.com/t/engine-is-crashing-while-using-the-behavior-tree-editor/1316112)

<div class="topic-metadata">

**Author:** [@Kiwi\_Snipes](https://forums.unrealengine.com/u/Kiwi_Snipes)\
**Replies:** 0\
**Last updated:** [September 29, 2023, 2:20am UTC](https://forums.unrealengine.com/t/engine-is-crashing-while-using-the-behavior-tree-editor/1316112 "2023-09-29T02:20:31Z")

</div>

LoginId:f1588af74e0d9eaf1a469fa9171a582f EpicAccountId: Assertion failed: (Index \>= 0) & (Index \< ArrayNum) \[File:D:\\build++UE5\\Sync\\Engine\\Source\\Runtime\\Core\\Public\\Containers\\Array.h\] \[Line: 771\] Array index out of …

---

## [Navmesh not working after adding 50+ actors](https://forums.unrealengine.com/t/navmesh-not-working-after-adding-50-actors/363356)

<div class="topic-metadata">

**Author:** [@hapro](https://forums.unrealengine.com/u/hapro)\
**Replies:** 6\
**Last updated:** [September 25, 2023, 6:13pm UTC](https://forums.unrealengine.com/t/navmesh-not-working-after-adding-50-actors/363356 "2023-09-25T18:13:33Z")

</div>

I have a landscape with a single navmesh covering the entire thing (52000x52000x6000). In the landscape, I have a bunch of enemies with AI which basically run towards the player when in sight range, and attack the player…

---

## [Convert BlackboardKeySelector to Object](https://forums.unrealengine.com/t/convert-blackboardkeyselector-to-object/401995)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_05126ce8](https://forums.unrealengine.com/u/anonymous_user_05126ce8)\
**Replies:** 1\
**Last updated:** [September 25, 2023, 3:41am UTC](https://forums.unrealengine.com/t/convert-blackboardkeyselector-to-object/401995 "2023-09-25T03:41:43Z")

</div>

Guys Im trying to convert this peace of blueprint code to c++. I have already tried casting but VS throws me compilation error. I searched in google and documentation nearly for 4 hours, but I couldn’t find anything h…

---

## [Blackboard Keys on C++](https://forums.unrealengine.com/t/blackboard-keys-on-c/438262)

<div class="topic-metadata">

**Author:** [@RainbowCookie32](https://forums.unrealengine.com/u/RainbowCookie32)\
**Replies:** 1\
**Last updated:** [September 25, 2023, 3:38am UTC](https://forums.unrealengine.com/t/blackboard-keys-on-c/438262 "2023-09-25T03:38:07Z")

</div>

Hi! I’m transitioning from Blueprints to C++ and I’m trying to use blackboard keys on my service but I’m not sure how to do it and I can’t find proper documentation for it. What would be the equivalent of a Blackboard ke…

---

## [Blueprints - Multi Sphere Trace For Objects](https://forums.unrealengine.com/t/blueprints-multi-sphere-trace-for-objects/1310592)

<div class="topic-metadata">

**Author:** [@ShadowFNYTTTV](https://forums.unrealengine.com/u/ShadowFNYTTTV)\
**Replies:** 1\
**Last updated:** [September 24, 2023, 6:19pm UTC](https://forums.unrealengine.com/t/blueprints-multi-sphere-trace-for-objects/1310592 "2023-09-24T18:19:20Z")

</div>

I am trying to connect an out hit from multi sphere trace for objects to a hit on break hit result but it wont connect i am following this tutorial - https://youtu.be/QoXxNpTyuV0?si=kxnZ2Omf5itOVYj0&t=2675 From 44…

---

## [EQS Bluprint vs C++ (Blueprint works, C++ doesn't)](https://forums.unrealengine.com/t/eqs-bluprint-vs-c-blueprint-works-c-doesnt/1310279)

<div class="topic-metadata">

**Author:** [@Ivan3z](https://forums.unrealengine.com/u/Ivan3z)\
**Replies:** 1\
**Last updated:** [September 24, 2023, 3:53pm UTC](https://forums.unrealengine.com/t/eqs-bluprint-vs-c-blueprint-works-c-doesnt/1310279 "2023-09-24T15:53:28Z")

</div>

I have a service on Blueprint that runs an EQS, and it does works correctly. I translated the same code to C++ but I don’t have the same result. I have 8 bots, in blueprint it works on all eight. In C++ it only works …

---

## [AI - Simulate Enhanced Input for NPCs](https://forums.unrealengine.com/t/ai-simulate-enhanced-input-for-npcs/1217247)

<div class="topic-metadata">

**Author:** [@Suthriel](https://forums.unrealengine.com/u/Suthriel)\
**Replies:** 3\
**Last updated:** [September 24, 2023, 11:53am UTC](https://forums.unrealengine.com/t/ai-simulate-enhanced-input-for-npcs/1217247 "2023-09-24T11:53:47Z")

</div>

Hello there, i am currently playing around with AI controllers for my characters to build some NPCs, and i came across this tutorial here: Currently my player characters are al built around the Enhanced Input system,…

---

## [Enemy AI Unable to Damage me with Apply Damage.](https://forums.unrealengine.com/t/enemy-ai-unable-to-damage-me-with-apply-damage/1309978)

<div class="topic-metadata">

**Author:** [@oakenD89](https://forums.unrealengine.com/u/oakenD89)\
**Replies:** 2\
**Last updated:** [September 24, 2023, 9:10am UTC](https://forums.unrealengine.com/t/enemy-ai-unable-to-damage-me-with-apply-damage/1309978 "2023-09-24T09:10:20Z")

</div>

I have been trying for hours to get the AI in my level to do damage to me but I am not having any luck. If anyone wouldn’t mind to take a look at my blueprint and see if they notice where a problem is I would appreciate…

---

## [How can i set StateTree "ZG Find Wander Target" custom TargetLocation in BluePrint?](https://forums.unrealengine.com/t/how-can-i-set-statetree-zg-find-wander-target-custom-targetlocation-in-blueprint/595557)

<div class="topic-metadata">

**Author:** [@wangyun](https://forums.unrealengine.com/u/wangyun)\
**Replies:** 1\
**Last updated:** [September 24, 2023, 4:30am UTC](https://forums.unrealengine.com/t/how-can-i-set-statetree-zg-find-wander-target-custom-targetlocation-in-blueprint/595557 "2023-09-24T04:30:42Z")

</div>

In Mass StateTree,only “ZG Find Wander Target” find random targetlocation,How can i set custom targetlocation?

---

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

<div class="topic-metadata">

**Author:** [@RCV2](https://forums.unrealengine.com/u/RCV2)\
**Replies:** 5\
**Last updated:** [September 23, 2023, 3:29pm UTC](https://forums.unrealengine.com/t/ai-not-moving/460825 "2023-09-23T15:29:34Z")

</div>

My AI Character is not moving anywhere, not with BT “Move To Node” nor with simple Simple Move to Location/Actor. Yes, there is a NavMesh Bounds volume in level. I’m building the mesh at runtime (I have changed the set…

---

## [UBTFunctionLibrary::SetBlackboardValueAsObject() (failed: OwnerComp != nullptr)](https://forums.unrealengine.com/t/ubtfunctionlibrary-setblackboardvalueasobject-failed-ownercomp-nullptr/1308043)

<div class="topic-metadata">

**Author:** [@Ivan3z](https://forums.unrealengine.com/u/Ivan3z)\
**Replies:** 1\
**Last updated:** [September 22, 2023, 11:52pm UTC](https://forums.unrealengine.com/t/ubtfunctionlibrary-setblackboardvalueasobject-failed-ownercomp-nullptr/1308043 "2023-09-22T23:52:23Z")

</div>

I have a problem setting the node owner in this function. UBTFunctionLibrary::SetBlackboardValueAsObject(this, Base, Actor); I got this error: My class is like this: class UBTT\_GetTeamReference : public UBTTask\_B…

---

## [Mass Entity Processors not processing in parallel ?](https://forums.unrealengine.com/t/mass-entity-processors-not-processing-in-parallel/1297162)

<div class="topic-metadata">

**Author:** [@Nerbert.Fekkes](https://forums.unrealengine.com/u/Nerbert.Fekkes)\
**Replies:** 1\
**Last updated:** [September 22, 2023, 8:23am UTC](https://forums.unrealengine.com/t/mass-entity-processors-not-processing-in-parallel/1297162 "2023-09-22T08:23:08Z")

</div>

Hello! We’re using Mass Entities at the moment and while looking into optimizing the performance of this (as some processors were taking a lot of time), we noticed that the execution of this isn’t really done in paralle…

---

## [Adding impulse to AI Character's character movement is not work](https://forums.unrealengine.com/t/adding-impulse-to-ai-characters-character-movement-is-not-work/431272)

<div class="topic-metadata">

**Author:** [@TigerFish89](https://forums.unrealengine.com/u/TigerFish89)\
**Replies:** 5\
**Last updated:** [September 21, 2023, 3:51am UTC](https://forums.unrealengine.com/t/adding-impulse-to-ai-characters-character-movement-is-not-work/431272 "2023-09-21T03:51:55Z")

</div>

Hi. I’m making a pushing when I use skill. When I use add impulse to player’s character movement, It is work well. But AI character is not affected by add impulse. I don’t know what am I miss. Can you help me?

---

## [Problems with 'Bad markup expression preceding end of line' in Verse code.](https://forums.unrealengine.com/t/problems-with-bad-markup-expression-preceding-end-of-line-in-verse-code/1302690)

<div class="topic-metadata">

**Author:** [@Grinzler](https://forums.unrealengine.com/u/Grinzler)\
**Replies:** 4\
**Last updated:** [September 19, 2023, 8:53pm UTC](https://forums.unrealengine.com/t/problems-with-bad-markup-expression-preceding-end-of-line-in-verse-code/1302690 "2023-09-19T20:53:07Z")

</div>

I’m just starting to learn programming, but I don’t understand where the error is. Can someone help me? The context of what I’m trying to do is an AI that follows nearby players. (here is all the code) using { /Fort…

---

## [\[UE5\] Unreal Engine Support for Machine Learning](https://forums.unrealengine.com/t/ue5-unreal-engine-support-for-machine-learning/514171)

<div class="topic-metadata">

**Author:** [@SebExiin](https://forums.unrealengine.com/u/SebExiin)\
**Replies:** 22\
**Last updated:** [September 18, 2023, 7:41pm UTC](https://forums.unrealengine.com/t/ue5-unreal-engine-support-for-machine-learning/514171 "2023-09-18T19:41:38Z")

</div>

I’m wondering if there is documentation for using the : “Unreal Engine Support for Machine Learning” plugin inside Unreal 5.

---

## [AI will not use nav link proxy](https://forums.unrealengine.com/t/ai-will-not-use-nav-link-proxy/380403)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_f53ee2a91](https://forums.unrealengine.com/u/anonymous_user_f53ee2a91)\
**Replies:** 8\
**Last updated:** [September 18, 2023, 6:15pm UTC](https://forums.unrealengine.com/t/ai-will-not-use-nav-link-proxy/380403 "2023-09-18T18:15:58Z")

</div>

After looking for answers and experimenting with different ways of doing it I simply cannot get the nav link proxy to function. The AI recognize that it’s a valid path, but will jitter around at Left and never drop down. …

---

## [How to customize the built-in Move To BT Task?](https://forums.unrealengine.com/t/how-to-customize-the-built-in-move-to-bt-task/534162)

<div class="topic-metadata">

**Author:** [@brno32](https://forums.unrealengine.com/u/brno32)\
**Replies:** 1\
**Last updated:** [September 15, 2023, 5:32am UTC](https://forums.unrealengine.com/t/how-to-customize-the-built-in-move-to-bt-task/534162 "2023-09-15T05:32:33Z")

</div>

I want to run a certain function when the built-in Move To task runs, so I’m trying to build my own Move To task like so This works pretty well, but there’s a difference. Namely, this custom task doesn’t get inter…

---

## [Learning agent tick time](https://forums.unrealengine.com/t/learning-agent-tick-time/1289068)

<div class="topic-metadata">

**Author:** [@kexul22](https://forums.unrealengine.com/u/kexul22)\
**Replies:** 8\
**Last updated:** [September 14, 2023, 2:31pm UTC](https://forums.unrealengine.com/t/learning-agent-tick-time/1289068 "2023-09-14T14:31:03Z")

</div>

Hi, I’m using learning agent to train my agent to finish a simple task: move towards target cube in map. Here is my blueprint of Event Get Actions: When the tick time is set to 0, my agents can move forward and backwa…

---

## [Questions about MASS system.](https://forums.unrealengine.com/t/questions-about-mass-system/1292769)

<div class="topic-metadata">

**Author:** [@ChloroformCandy](https://forums.unrealengine.com/u/ChloroformCandy)\
**Replies:** 1\
**Last updated:** [September 13, 2023, 8:24pm UTC](https://forums.unrealengine.com/t/questions-about-mass-system/1292769 "2023-09-13T20:24:16Z")

</div>

Good Afternoon, I just went through this tutorial First 60 Minutes in Mass and have a few questions before I dive any further. How do you connect Zone Shape points to form a complete shape. Currently they go the dire…

---

## [How do I reset the loop each time player exits the NavMesh](https://forums.unrealengine.com/t/how-do-i-reset-the-loop-each-time-player-exits-the-navmesh/1292504)

<div class="topic-metadata">

**Author:** [@time.lord.st](https://forums.unrealengine.com/u/time.lord.st)\
**Replies:** 2\
**Last updated:** [September 13, 2023, 3:27pm UTC](https://forums.unrealengine.com/t/how-do-i-reset-the-loop-each-time-player-exits-the-navmesh/1292504 "2023-09-13T15:27:17Z")

</div>

Hi. I’ve been trying to solve this issue where my AI won’t reset back to the ROAM AROUND once the playable character exits the NAVMESH. I’m really a beginner in AI and behaviour tree. Please help.

---

## [How can I improve my Crowd Detour behavior? Characters constantly correct their path (looks twitchy and weird) and often get stuck](https://forums.unrealengine.com/t/how-can-i-improve-my-crowd-detour-behavior-characters-constantly-correct-their-path-looks-twitchy-and-weird-and-often-get-stuck/273131)

<div class="topic-metadata">

**Author:** [@Chumble](https://forums.unrealengine.com/u/Chumble)\
**Replies:** 4\
**Last updated:** [September 12, 2023, 11:14pm UTC](https://forums.unrealengine.com/t/how-can-i-improve-my-crowd-detour-behavior-characters-constantly-correct-their-path-looks-twitchy-and-weird-and-often-get-stuck/273131 "2023-09-12T23:14:25Z")

</div>

I am using the base implementation of the crowd following / avoidance / detour functionality. I tried RVO but the weird rotation while moving makes it super unappealing. This is what my behavior currently looks like. Of…

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

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