# AI

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

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

**Page:** 14

---

## [SD's Histogram Scan UE4 Equivalent?](https://forums.unrealengine.com/t/sds-histogram-scan-ue4-equivalent/475087)

<div class="topic-metadata">

**Author:** [@frmdbl](https://forums.unrealengine.com/u/frmdbl)\
**Replies:** 3\
**Last updated:** [January 9, 2025, 4:05pm UTC](https://forums.unrealengine.com/t/sds-histogram-scan-ue4-equivalent/475087 "2025-01-09T16:05:32Z")

</div>

Hey, Is there an equivalent to Substance Designer’s histogram scan node in UE4? For those who don’t know, what it does is for a given color value it outputs those values for a given texture. Perhaps there’s a way to…

---

## [CDO Constructor Failed to find asset](https://forums.unrealengine.com/t/cdo-constructor-failed-to-find-asset/620239)

<div class="topic-metadata">

**Author:** [@GKoch](https://forums.unrealengine.com/u/GKoch)\
**Replies:** 5\
**Last updated:** [January 8, 2025, 3:15am UTC](https://forums.unrealengine.com/t/cdo-constructor-failed-to-find-asset/620239 "2025-01-08T03:15:13Z")

</div>

Constructor helper failed to load asset. I get the error message: LogLinker: Warning: Failed to load ‘/Game/GunActorTest’: Can’t find file. LogUObjectGlobals: Warning: Failed to find object ‘Actor /Game/GunActorTest.…

---

## [Output Joint Positions](https://forums.unrealengine.com/t/output-joint-positions/2264408)

<div class="topic-metadata">

**Author:** [@mbost](https://forums.unrealengine.com/u/mbost)\
**Replies:** 0\
**Last updated:** [January 7, 2025, 2:39pm UTC](https://forums.unrealengine.com/t/output-joint-positions/2264408 "2025-01-07T14:39:15Z")

</div>

I want to generate a dataset using Unreal Engine 5. For this, I need the joint positions in camera pixel coordinates, ideally in json format. Does anyone know how I could accomplish that?

---

## [Is there a way to determine if a Nav Link Proxy is encountered while finding a path between two points in Unreal Engine?](https://forums.unrealengine.com/t/is-there-a-way-to-determine-if-a-nav-link-proxy-is-encountered-while-finding-a-path-between-two-points-in-unreal-engine/2262716)

<div class="topic-metadata">

**Author:** [@Imantion](https://forums.unrealengine.com/u/Imantion)\
**Replies:** 0\
**Last updated:** [January 6, 2025, 3:08pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-determine-if-a-nav-link-proxy-is-encountered-while-finding-a-path-between-two-points-in-unreal-engine/2262716 "2025-01-06T15:08:07Z")

</div>

Problem definition: I have an AI (zombie) that is destroying a special object to reach a specific location. The object is stored as a blackboard value and is a child actor of a NavLink(To trigger Zombie attacking object …

---

## [Attack to player dosen´t work](https://forums.unrealengine.com/t/attack-to-player-dosen-t-work/2257175)

<div class="topic-metadata">

**Author:** [@poppyplaytimelover](https://forums.unrealengine.com/u/poppyplaytimelover)\
**Replies:** 3\
**Last updated:** [January 3, 2025, 6:46pm UTC](https://forums.unrealengine.com/t/attack-to-player-dosen-t-work/2257175 "2025-01-03T18:46:14Z")

</div>

I copied the Attacking lesson from the course Unreal Engine: Ultimate surivival horror course on Udemy. But in my project the enemys stood still for 5 seconds when I touched him and I didn´t die, I could still move. What…

---

## [How to structure levels when for easy NPC transition](https://forums.unrealengine.com/t/how-to-structure-levels-when-for-easy-npc-transition/2256291)

<div class="topic-metadata">

**Author:** [@Crizbot](https://forums.unrealengine.com/u/Crizbot)\
**Replies:** 1\
**Last updated:** [January 3, 2025, 4:26am UTC](https://forums.unrealengine.com/t/how-to-structure-levels-when-for-easy-npc-transition/2256291 "2025-01-03T04:26:07Z")

</div>

I’m building an open world game in UE 5.5. My intention was to create the outer world as a large open world (World Partition level) and then have separate levels (Level Instance) for the outer shell of buildings and a s…

---

## [BT error messages](https://forums.unrealengine.com/t/bt-error-messages/2256136)

<div class="topic-metadata">

**Author:** [@poppyplaytimelover](https://forums.unrealengine.com/u/poppyplaytimelover)\
**Replies:** 0\
**Last updated:** [January 2, 2025, 6:01pm UTC](https://forums.unrealengine.com/t/bt-error-messages/2256136 "2025-01-02T18:01:56Z")

</div>

I copied the Attacking lesson from the course Unreal Engine: Ultimate surivival horror course on Udemy. But in my project the enemys stood still for 5 seconds when I touched him and I didn´t die, I could still move. Wha…

---

## [AI perception to only include player character](https://forums.unrealengine.com/t/ai-perception-to-only-include-player-character/2252677)

<div class="topic-metadata">

**Author:** [@dilpo](https://forums.unrealengine.com/u/dilpo)\
**Replies:** 2\
**Last updated:** [December 31, 2024, 7:41pm UTC](https://forums.unrealengine.com/t/ai-perception-to-only-include-player-character/2252677 "2024-12-31T19:41:10Z")

</div>

Hello. I am using the above setup and I believe this would lead to many casts being performed as there will be many ai pawns in a small area coming in and out of view. A possible solution I have considered is using a …

---

## [How to expose "AI is seeking a Nav Link"](https://forums.unrealengine.com/t/how-to-expose-ai-is-seeking-a-nav-link/408833)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_53982b391](https://forums.unrealengine.com/u/anonymous_user_53982b391)\
**Replies:** 6\
**Last updated:** [December 30, 2024, 10:48am UTC](https://forums.unrealengine.com/t/how-to-expose-ai-is-seeking-a-nav-link/408833 "2024-12-30T10:48:15Z")

</div>

I need to pull the information that is telling the AI to seek a nav link so that I can use that in a factor to make them start a climbing / jumping / crawling etc montage. (to get them to climb over an obstacle, climb up…

---

## [How to have AI detect collision hits from physical objects](https://forums.unrealengine.com/t/how-to-have-ai-detect-collision-hits-from-physical-objects/1566885)

<div class="topic-metadata">

**Author:** [@Orang\_boi\_m8](https://forums.unrealengine.com/u/Orang_boi_m8)\
**Replies:** 2\
**Last updated:** [December 29, 2024, 12:17pm UTC](https://forums.unrealengine.com/t/how-to-have-ai-detect-collision-hits-from-physical-objects/1566885 "2024-12-29T12:17:14Z")

</div>

Okay in my game I want to make it so that when a projectile hits my enemy AI the AI will get stunned for a little moment. However, I can’t seem to get that functionality working for whatever reason. So this is what I ha…

---

## [Getting a variable from an AI Controller to a Task in my behaviour tree](https://forums.unrealengine.com/t/getting-a-variable-from-an-ai-controller-to-a-task-in-my-behaviour-tree/2248551)

<div class="topic-metadata">

**Author:** [@Bastinator3](https://forums.unrealengine.com/u/Bastinator3)\
**Replies:** 0\
**Last updated:** [December 29, 2024, 9:52am UTC](https://forums.unrealengine.com/t/getting-a-variable-from-an-ai-controller-to-a-task-in-my-behaviour-tree/2248551 "2024-12-29T09:52:23Z")

</div>

Hello, I am currently writing an AI with reinforcement learning and am facing the following problem. A variable I am using for calculations is used in my AI Controller. The result of this calculation is needed in a task …

---

## [yarr please help me packging failed for android i dont know why i its like i configured the ndk sdk and jdk correctly i myself installed android studio 3 to 4 tymes i did everything even setupandroid in andorid extra unreal engine foldler from there two ](https://forums.unrealengine.com/t/yarr-please-help-me-packging-failed-for-android-i-dont-know-why-i-its-like-i-configured-the-ndk-sdk-and-jdk-correctly-i-myself-installed-android-studio-3-to-4-tymes-i-did-everything-even-setupandroid-in-andorid-extra-unreal-engine-foldler-from-there-two/2247373)

<div class="topic-metadata">

**Author:** [@4821gamers](https://forums.unrealengine.com/u/4821gamers)\
**Replies:** 0\
**Last updated:** [December 28, 2024, 2:40pm UTC](https://forums.unrealengine.com/t/yarr-please-help-me-packging-failed-for-android-i-dont-know-why-i-its-like-i-configured-the-ndk-sdk-and-jdk-correctly-i-myself-installed-android-studio-3-to-4-tymes-i-did-everything-even-setupandroid-in-andorid-extra-unreal-engine-foldler-from-there-two/2247373 "2024-12-28T14:40:01Z")

</div>

yarr please help me packging failed for android i dont know why i its like i configured the ndk sdk and jdk correctly i myself installed android studio 3 to 4 tymes i did everything even setupandroid in andorid extra unr…

---

## [How can i use my c++ enum in my blackboard?](https://forums.unrealengine.com/t/how-can-i-use-my-c-enum-in-my-blackboard/2243970)

<div class="topic-metadata">

**Author:** [@Bea\_q151](https://forums.unrealengine.com/u/Bea_q151)\
**Replies:** 1\
**Last updated:** [December 26, 2024, 5:20pm UTC](https://forums.unrealengine.com/t/how-can-i-use-my-c-enum-in-my-blackboard/2243970 "2024-12-26T17:20:12Z")

</div>

Hi! I am currently working on an AI behavior and i want to assign a c++ enum value to my blackboard. UENUM(BlueprintType) enum class EState : uint8 { ES\_Passive, ES\_Attacking, ES\_Frozen, ES\_Investigating, ES\_Dead }…

---

## [AI perception not working](https://forums.unrealengine.com/t/ai-perception-not-working/1170574)

<div class="topic-metadata">

**Author:** [@BO-DACIOUS](https://forums.unrealengine.com/u/BO-DACIOUS)\
**Replies:** 10\
**Last updated:** [December 23, 2024, 2:43am UTC](https://forums.unrealengine.com/t/ai-perception-not-working/1170574 "2024-12-23T02:43:57Z")

</div>

Hey guys, im following a Udemy course which is covering AI. I’ve setup the AI character and controller and selected the controller insude the character. When the AI character sees me in the level, the green perception u…

---

## [Change the Navigation cost for Roads created with the Landscapespline tool](https://forums.unrealengine.com/t/change-the-navigation-cost-for-roads-created-with-the-landscapespline-tool/2235320)

<div class="topic-metadata">

**Author:** [@TitusJonas](https://forums.unrealengine.com/u/TitusJonas)\
**Replies:** 2\
**Last updated:** [December 22, 2024, 3:53pm UTC](https://forums.unrealengine.com/t/change-the-navigation-cost-for-roads-created-with-the-landscapespline-tool/2235320 "2024-12-22T15:53:13Z")

</div>

How can I change the Navigation cost for Roads created with the Landscapespline tool? I tried changing the RoadMesh to a DynamicObstacle and adding a NavArea with lower cost to it. However, now when I start the Project I…

---

## [Fix for Gameplay Behavior World Context](https://forums.unrealengine.com/t/fix-for-gameplay-behavior-world-context/2233135)

<div class="topic-metadata">

**Author:** [@EvilGeniusTC](https://forums.unrealengine.com/u/EvilGeniusTC)\
**Replies:** 0\
**Last updated:** [December 20, 2024, 4:31am UTC](https://forums.unrealengine.com/t/fix-for-gameplay-behavior-world-context/2233135 "2024-12-20T04:31:16Z")

</div>

If any of you have tried to call a node that requires a World Context from a GB you no doubt realized that they are not available in the default GB class. This does not seem to be intended as it has a GetWorld() Function…

---

## [Structs in Blackboard](https://forums.unrealengine.com/t/structs-in-blackboard/2231161)

<div class="topic-metadata">

**Author:** [@EvilGeniusTC](https://forums.unrealengine.com/u/EvilGeniusTC)\
**Replies:** 2\
**Last updated:** [December 19, 2024, 1:18am UTC](https://forums.unrealengine.com/t/structs-in-blackboard/2231161 "2024-12-19T01:18:52Z")

</div>

Ive been using state trees however im having some implementation issues and i thought id give behavior trees a shot. However i have been immediately halted by the ability to create a BB key that is a struct however there…

---

## [How to use custom model in Learning Agents?](https://forums.unrealengine.com/t/how-to-use-custom-model-in-learning-agents/1947225)

<div class="topic-metadata">

**Author:** [@kromkh8](https://forums.unrealengine.com/u/kromkh8)\
**Replies:** 9\
**Last updated:** [December 18, 2024, 6:48pm UTC](https://forums.unrealengine.com/t/how-to-use-custom-model-in-learning-agents/1947225 "2024-12-18T18:48:49Z")

</div>

I am planning to conduct research on reinforcement learning and need to gather information and create a simple demo. I am currently planning to use ‘Learning Agents’ and would like to know how to apply a custom model. It…

---

## [How do I make this EnemyAI follow closet player?](https://forums.unrealengine.com/t/how-do-i-make-this-enemyai-follow-closet-player/2230551)

<div class="topic-metadata">

**Author:** [@ItsVengefulTV](https://forums.unrealengine.com/u/ItsVengefulTV)\
**Replies:** 0\
**Last updated:** [December 18, 2024, 3:42pm UTC](https://forums.unrealengine.com/t/how-do-i-make-this-enemyai-follow-closet-player/2230551 "2024-12-18T15:42:45Z")

</div>

I recently put in the multiplayer aspect of my game, when testing it, it will only follow server client character (as UE is the server player) How do I make this EnemyAI follow closet player?

---

## [AI spawn underneath the landscape.](https://forums.unrealengine.com/t/ai-spawn-underneath-the-landscape/2224630)

<div class="topic-metadata">

**Author:** [@Dronteraz](https://forums.unrealengine.com/u/Dronteraz)\
**Replies:** 2\
**Last updated:** [December 16, 2024, 11:35am UTC](https://forums.unrealengine.com/t/ai-spawn-underneath-the-landscape/2224630 "2024-12-16T11:35:55Z")

</div>

Here’s the problem. Made spawn points for AI to appear and go to me. The points are placed on top of the landscape, see screenshots. But when starting, they fall under the ground. Here are my 4 dots. Spawn Position. …

---

## [NavMeshBoundsVolume (landscape)](https://forums.unrealengine.com/t/navmeshboundsvolume-landscape/2216861)

<div class="topic-metadata">

**Author:** [@Dronteraz](https://forums.unrealengine.com/u/Dronteraz)\
**Replies:** 2\
**Last updated:** [December 16, 2024, 6:05am UTC](https://forums.unrealengine.com/t/navmeshboundsvolume-landscape/2216861 "2024-12-16T06:05:49Z")

</div>

After creating my landscape, I edit the terrain and pick up the hills with the brush, but after applying NavMeshBoundsVolume the coverage area does not capture these very hills and the AI stops moving when I get to this …

---

## [Dynamic navmesh busted when migrating from 5.4 to 5.5](https://forums.unrealengine.com/t/dynamic-navmesh-busted-when-migrating-from-5-4-to-5-5/2222935)

<div class="topic-metadata">

**Author:** [@OeilDeLance43](https://forums.unrealengine.com/u/OeilDeLance43)\
**Replies:** 1\
**Last updated:** [December 15, 2024, 6:00pm UTC](https://forums.unrealengine.com/t/dynamic-navmesh-busted-when-migrating-from-5-4-to-5-5/2222935 "2024-12-15T18:00:21Z")

</div>

Hey all ! Out of curiousity I tried a migration from 5.4 to 5.5 on small project. Most of it went fine until I looked at the navmeshes X) My navmeshes are fine outside of play mode (essentially more on that later) But…

---

## [Movement for AI with wasd and space (blueprints)](https://forums.unrealengine.com/t/movement-for-ai-with-wasd-and-space-blueprints/2204831)

<div class="topic-metadata">

**Author:** [@Bastinator3](https://forums.unrealengine.com/u/Bastinator3)\
**Replies:** 2\
**Last updated:** [December 15, 2024, 1:36pm UTC](https://forums.unrealengine.com/t/movement-for-ai-with-wasd-and-space-blueprints/2204831 "2024-12-15T13:36:17Z")

</div>

Hello everybody, I am currently trying to teach my AI to Move randomly with wasd and jump. The AI is deciding randomly how to move. I am also showing you my current procress where I am stuck at. If I start my game it pr…

---

## [How to get the current running sequence of a Behavior Tree?](https://forums.unrealengine.com/t/how-to-get-the-current-running-sequence-of-a-behavior-tree/2214850)

<div class="topic-metadata">

**Author:** [@Mr\_AKIMBO](https://forums.unrealengine.com/u/Mr_AKIMBO)\
**Replies:** 2\
**Last updated:** [December 13, 2024, 10:03am UTC](https://forums.unrealengine.com/t/how-to-get-the-current-running-sequence-of-a-behavior-tree/2214850 "2024-12-13T10:03:29Z")

</div>

I need to know which sequence a Characteris Behavior Tree is running to control a blueprints logic and I can’t find a stisfactory way to do it. The best “solution” I’ve figured out is to use the services to update an …

---

## [Rendering 1000s of AI units rendered in mid - high gaming pc (WIP)](https://forums.unrealengine.com/t/rendering-1000s-of-ai-units-rendered-in-mid-high-gaming-pc-wip/2208088)

<div class="topic-metadata">

**Author:** [@HeadMod1](https://forums.unrealengine.com/u/HeadMod1)\
**Replies:** 1\
**Last updated:** [December 12, 2024, 3:30am UTC](https://forums.unrealengine.com/t/rendering-1000s-of-ai-units-rendered-in-mid-high-gaming-pc-wip/2208088 "2024-12-12T03:30:43Z")

</div>

WIP The goal isn’t just to manage a large number of AI but to craft a beautiful, fully functional ecosystem. I’ve been working on something that’s easy to use and debug: a multithreaded AI system. Hornet features a cust…

---

## [Is it possible to use both AI Controller and Player Controller with the same pawn?](https://forums.unrealengine.com/t/is-it-possible-to-use-both-ai-controller-and-player-controller-with-the-same-pawn/347004)

<div class="topic-metadata">

**Author:** [@Conor202](https://forums.unrealengine.com/u/Conor202)\
**Replies:** 9\
**Last updated:** [December 11, 2024, 4:52pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-use-both-ai-controller-and-player-controller-with-the-same-pawn/347004 "2024-12-11T16:52:38Z")

</div>

I’ve been trying to set up an attack for a character using the simple move to actor node in the player controller. I was hoping to play an animation upon arriving at the other actor however I cannot find a way to get whe…

---

## [Error Message while getting Blackboard Component](https://forums.unrealengine.com/t/error-message-while-getting-blackboard-component/2203201)

<div class="topic-metadata">

**Author:** [@Sh0gsyB0xy](https://forums.unrealengine.com/u/Sh0gsyB0xy)\
**Replies:** 2\
**Last updated:** [December 11, 2024, 12:50pm UTC](https://forums.unrealengine.com/t/error-message-while-getting-blackboard-component/2203201 "2024-12-11T12:50:57Z")

</div>

Hello! I keep getting an Error every time I play, that the Blackboard in the AnimationBlueprint accessed none, even though the code clearly works.

---

## [LearningAgent Plugin support for 5.3](https://forums.unrealengine.com/t/learningagent-plugin-support-for-5-3/2180286)

<div class="topic-metadata">

**Author:** [@abderrahimjami96](https://forums.unrealengine.com/u/abderrahimjami96)\
**Replies:** 3\
**Last updated:** [December 9, 2024, 2:02pm UTC](https://forums.unrealengine.com/t/learningagent-plugin-support-for-5-3/2180286 "2024-12-09T14:02:51Z")

</div>

I’m unable to use 5.4 onwards, learning agents is a plugin available in “experimental” mode in 5.3, I tried following the tutorial called Learning to Drive (5.4) I’m aware the tutorial is meant to be followed using 5.4 b…

---

## [Services, can you set the tick Interval from elsewhere](https://forums.unrealengine.com/t/services-can-you-set-the-tick-interval-from-elsewhere/2183948)

<div class="topic-metadata">

**Author:** [@Nightwolf](https://forums.unrealengine.com/u/Nightwolf)\
**Replies:** 1\
**Last updated:** [December 9, 2024, 2:38pm UTC](https://forums.unrealengine.com/t/services-can-you-set-the-tick-interval-from-elsewhere/2183948 "2024-12-09T14:38:20Z")

</div>

Title practically says it all, Can you make a service in a behavior tree and then from another blueprint change the Interval that it does the tick? My goal is to let a branch of the behavior tree execute for a certain a…

---

## [Anyone know how to do NPC avoidance with root motion locomotion?](https://forums.unrealengine.com/t/anyone-know-how-to-do-npc-avoidance-with-root-motion-locomotion/2178257)

<div class="topic-metadata">

**Author:** [@Mr\_AKIMBO](https://forums.unrealengine.com/u/Mr_AKIMBO)\
**Replies:** 2\
**Last updated:** [December 6, 2024, 10:28pm UTC](https://forums.unrealengine.com/t/anyone-know-how-to-do-npc-avoidance-with-root-motion-locomotion/2178257 "2024-12-06T22:28:06Z")

</div>

So I have NPCs that move around via root motion. They often bump into each other. I tried to make my own avoidance system but it’s not very good. Has anyone here done it? Can you give me advice about how it should be han…

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

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