# DoN's 3D-Pathfinding / Flying-AI system (with full source!)

**URL:** <https://forums.unrealengine.com/t/dons-3d-pathfinding-flying-ai-system-with-full-source/57271>\
**Category:** World Creation\
**Tags:** unreal-engine\
**Created:** [March 4, 2016, 6:41pm UTC](https://forums.unrealengine.com/t/dons-3d-pathfinding-flying-ai-system-with-full-source/57271 "2016-03-04T18:41:32Z")\
**Posts on this page:** 20\
**Page:** 17

<div class="post-metadata">

**Author:** ![SwenYan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SwenYan](https://forums.unrealengine.com/u/SwenYan)\
**Post date:** [April 14, 2020, 3:15am UTC](https://forums.unrealengine.com/t/dons-3d-pathfinding-flying-ai-system-with-full-source/57271/335 "2020-04-14T03:15:14Z")

</div>

First, thanks for the great job of the creator.

I’ve been wait for a while but update for 4.24 is still not here so I did it myself. People who need it can download it here:  
4.24: [DonAINavigation\_v1.12\_UE\_4.24.zip - Google Drive](https://drive.google.com/open?id=122lWfJLEZmqArmLLRjL90jPr3_DiTPjC)  
4.25: [DonAINavigation\_v1.12\_UE\_4.25.zip - Google Drive](https://drive.google.com/open?id=1lPjtoCc3PZaAQ1xpd-tfn1F1DCmqiZEi)

How to use:

1. Unzip the file.
2. Copy the “DonAINavigation” folder into engine marketplace plugin folder (example : C:\Epic Games\UE\_4.24\Engine\Plugins\Marketplace)

~~When loading a project, a window may pop up and say “This plugin is made for 4.23,…”, just click OK, it is fine.~~

I will remove the link when official update is available on marketplace.

---

<div class="post-metadata">

**Author:** ![rasamaya](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rasamaya](https://forums.unrealengine.com/u/rasamaya)\
**Post date:** [April 14, 2020, 8:23pm UTC](https://forums.unrealengine.com/t/dons-3d-pathfinding-flying-ai-system-with-full-source/57271/336 "2020-04-14T20:23:45Z")

</div>

> [@SwenYan](#):
>
> First, thanks for the great job of the creator.
> 
> I’ve been wait for a while but update for 4.24 is still not here so I did it myself. People who need it can download it here:  
> [https://drive.google.com/file/d/1IEqR4SIynRUjE9t-NvVDO047Ev1i8JLg/view](https://drive.google.com/file/d/1IEqR4SIynRUjE9t-NvVDO047Ev1i8JLg/view)
> 
> How to use:
> 
> 1. Unzip the file.
> 2. Copy the “DonAINavigation” folder into engine marketplace plugin folder (example : C:\Epic Games\UE\_4.24\Engine\Plugins\Marketplace)
> 
> When loading a project, a window may pop up and say “This plugin is made for 4.23,…”, just click OK, it is fine.
> 
> I will remove the link when official update is available on marketplace.

I was having troubles with the 4.25 build. Maybe it was just my problem. Could you test it out?

---

<div class="post-metadata">

**Author:** ![SwenYan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SwenYan](https://forums.unrealengine.com/u/SwenYan)\
**Post date:** [April 15, 2020, 2:52am UTC](https://forums.unrealengine.com/t/dons-3d-pathfinding-flying-ai-system-with-full-source/57271/337 "2020-04-15T02:52:04Z")

</div>

> [@rasamaya](#):
>
> I was having troubles with the 4.25 build. Maybe it was just my problem. Could you test it out?

It was recompile with 4.24 so I think it won’t work with 4.25 just like the 4.23 version doesn’t work with 4.24.  
I don’t have 4.25 installed so can not test it now.

---

<div class="post-metadata">

**Author:** ![Tomza](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tomza](https://forums.unrealengine.com/u/Tomza)\
**Post date:** [April 26, 2020, 5:17am UTC](https://forums.unrealengine.com/t/dons-3d-pathfinding-flying-ai-system-with-full-source/57271/338 "2020-04-26T05:17:14Z")

</div>

> [@SwenYan](#):
>
> First, thanks for the great job of the creator.
> 
> I’ve been wait for a while but update for 4.24 is still not here so I did it myself. People who need it can download it here:  
> [https://drive.google.com/file/d/1IEq…7Ev1i8JLg/view](https://drive.google.com/file/d/1IEqR4SIynRUjE9t-NvVDO047Ev1i8JLg/view)
> 
> How to use:
> 
> 1. Unzip the file.
> 2. Copy the “DonAINavigation” folder into engine marketplace plugin folder (example : C:\Epic Games\UE\_4.24\Engine\Plugins\Marketplace)
> 
> When loading a project, a window may pop up and say “This plugin is made for 4.23,…”, just click OK, it is fine.
> 
> I will remove the link when official update is available on marketplace.

Not to have a trouble with the pop up, you can open the DonAINavigation.uplugin file with any text editor and change the engine version. I have changed from 4.23 to 4.24. Hope it helps.

---

<div class="post-metadata">

**Author:** ![SwenYan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SwenYan](https://forums.unrealengine.com/u/SwenYan)\
**Post date:** [April 26, 2020, 7:33am UTC](https://forums.unrealengine.com/t/dons-3d-pathfinding-flying-ai-system-with-full-source/57271/339 "2020-04-26T07:33:18Z")

</div>

> [@Tomza](#):
>
> Not to have a trouble with the pop up, you can open the DonAINavigation.uplugin file with any text editor and change the engine version. I have changed from 4.23 to 4.24. Hope it helps.

Thanks, you are nice!

---

<div class="post-metadata">

**Author:** ![Thunder\_Owl](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Thunder\_Owl](https://forums.unrealengine.com/u/Thunder_Owl)\
**Post date:** [May 6, 2020, 8:57am UTC](https://forums.unrealengine.com/t/dons-3d-pathfinding-flying-ai-system-with-full-source/57271/340 "2020-05-06T08:57:00Z")

</div>

> [@SwenYan](#):
>
> It was recompile with 4.24 so I think it won’t work with 4.25 just like the 4.23 version doesn’t work with 4.24.  
> I don’t have 4.25 installed so can not test it now.

… and now we would like to have 4.25 version :rolleyes: 🙂

---

<div class="post-metadata">

**Author:** ![SwenYan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SwenYan](https://forums.unrealengine.com/u/SwenYan)\
**Post date:** [May 10, 2020, 1:53am UTC](https://forums.unrealengine.com/t/dons-3d-pathfinding-flying-ai-system-with-full-source/57271/341 "2020-05-10T01:53:38Z")

</div>

> [@rasamaya](#):
>
> I was having troubles with the 4.25 build. Maybe it was just my problem. Could you test it out?

> [@Thunder\_Owl](#):
>
> … and now we would like to have 4.25 version :rolleyes: 🙂

You got it.

4.24: [DonAINavigation\_v1.12\_UE\_4.24.zip - Google Drive](https://drive.google.com/open?id=122lWfJLEZmqArmLLRjL90jPr3_DiTPjC)  
4.25: [DonAINavigation\_v1.12\_UE\_4.25.zip - Google Drive](https://drive.google.com/open?id=1lPjtoCc3PZaAQ1xpd-tfn1F1DCmqiZEi)

---

<div class="post-metadata">

**Author:** ![Mr\_SquarePeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mr\_SquarePeg](https://forums.unrealengine.com/u/Mr_SquarePeg)\
**Post date:** [May 11, 2020, 8:46am UTC](https://forums.unrealengine.com/t/dons-3d-pathfinding-flying-ai-system-with-full-source/57271/342 "2020-05-11T08:46:41Z")

</div>

> [@SwenYan](#):
>
> You got it.
> 
> 4.24: [DonAINavigation\_v1.12\_UE\_4.24.zip - Google Drive](https://drive.google.com/open?id=122lWfJLEZmqArmLLRjL90jPr3_DiTPjC)  
> 4.25: [DonAINavigation\_v1.12\_UE\_4.25.zip - Google Drive](https://drive.google.com/open?id=1lPjtoCc3PZaAQ1xpd-tfn1F1DCmqiZEi)

Would it be possible to throw these up on git hub with their source code? Just curious 🙂

Also the 4.25 version is marked as private and I need to request access.

---

<div class="post-metadata">

**Author:** ![Thunder\_Owl](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Thunder\_Owl](https://forums.unrealengine.com/u/Thunder_Owl)\
**Post date:** [May 20, 2020, 11:44am UTC](https://forums.unrealengine.com/t/dons-3d-pathfinding-flying-ai-system-with-full-source/57271/343 "2020-05-20T11:44:35Z")

</div>

> [@SwenYan](#):
>
> You got it.
> 
> 4.24: [DonAINavigation\_v1.12\_UE\_4.24.zip - Google Drive](https://drive.google.com/open?id=122lWfJLEZmqArmLLRjL90jPr3_DiTPjC)  
> 4.25: [DonAINavigation\_v1.12\_UE\_4.25.zip - Google Drive](https://drive.google.com/open?id=1lPjtoCc3PZaAQ1xpd-tfn1F1DCmqiZEi)

Thank you for those versions!

---

<div class="post-metadata">

**Author:** ![Mavmat](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mavmat](https://forums.unrealengine.com/u/Mavmat)\
**Post date:** [May 31, 2020, 10:58am UTC](https://forums.unrealengine.com/t/dons-3d-pathfinding-flying-ai-system-with-full-source/57271/344 "2020-05-31T10:58:43Z")

</div>

Hi

Information seems spread out over multiple threads and pages and the dev hasn’t been very communicative recently (though I do see the game is being worked on). In light of this, I felt it worthwhile to start up a Discord to see if we can better organise the community that exists around this project. To start, I’ve compiled a few methods of building for other engine versions and listed these in the #guides channel. I’ve also summarised a few important links.

I’m not a C++ programmer by trade, so I won’t be able to assist with anything in-depth but it’s my hope that this might help in a small way to save the neat functionality this plugin has.

If the author decides to pick it back up, I’m more than happy to hand over control of the server.

Here’s the link: [Unofficial DoN Pathfinding](https://discord.gg/eFW6suw)

---

<div class="post-metadata">

**Author:** ![Thunder\_Owl](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Thunder\_Owl](https://forums.unrealengine.com/u/Thunder_Owl)\
**Post date:** [June 12, 2020, 6:45am UTC](https://forums.unrealengine.com/t/dons-3d-pathfinding-flying-ai-system-with-full-source/57271/345 "2020-06-12T06:45:05Z")

</div>

> [@Mavmat](#):
>
> Hi
> 
> Information seems spread out over multiple threads and pages and the dev hasn’t been very communicative recently (though I do see the game is being worked on). In light of this, I felt it worthwhile to start up a Discord to see if we can better organise the community that exists around this project. To start, I’ve compiled a few methods of building for other engine versions and listed these in the #guides channel. I’ve also summarised a few important links.
> 
> I’m not a C++ programmer by trade, so I won’t be able to assist with anything in-depth but it’s my hope that this might help in a small way to save the neat functionality this plugin has.
> 
> If the author decides to pick it back up, I’m more than happy to hand over control of the server.
> 
> Here’s the link: [Unofficial DoN Pathfinding](https://discord.gg/eFW6suw)

Also, keep an eye (and Discord exposure) to this 3D nav plugin, “uesvon” (last update 2 months ago):

> **[GitHub - midgen/uesvon: 3D navmesh generation and pathfinding plugin for...](https://github.com/midgen/uesvon)**
>
> 3D navmesh generation and pathfinding plugin for UnrealEngine - GitHub - midgen/uesvon: 3D navmesh generation and pathfinding plugin for UnrealEngine

---

<div class="post-metadata">

**Author:** ![Mrob76u](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mrob76u](https://forums.unrealengine.com/u/Mrob76u)\
**Post date:** [June 24, 2020, 9:49am UTC](https://forums.unrealengine.com/t/dons-3d-pathfinding-flying-ai-system-with-full-source/57271/346 "2020-06-24T09:49:55Z")

</div>

@SwenYan Thank you so much for this. I have been struggling to do the same thing for a while. Very much appreciated.

---

<div class="post-metadata">

**Author:** ![wtadlock](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@wtadlock](https://forums.unrealengine.com/u/wtadlock)\
**Post date:** [June 25, 2020, 5:52pm UTC](https://forums.unrealengine.com/t/dons-3d-pathfinding-flying-ai-system-with-full-source/57271/347 "2020-06-25T17:52:46Z")

</div>

In need of some help. I have Don’s AI working mostly the way I want it. However, the issue I am having while using the Pursuit BT is the Goal Bot. If I have my player in the scene, I can assign it as the goal, the AI pursues it, etc. However, my character gets spawned in at run time. In order for that work, what I have to do is eject from the scene, grab the enemy, add my character to the goal, then possess my character and play. Then the bot pursues me. Does anyone know how to set the goal bot at runtime or have it use the equivalent of a prefab (I am not quite sure what Unreal considers those other than BP Meshes)? The information out there for doing something like this is very sparse…

Additional info is I am using Don’s AI with the Side Scroller Shooter Kit making a 2.5d side scroller with full 3d characters and objects.

Any help would be greatly appreciated.

Thanks,

---

<div class="post-metadata">

**Author:** ![crossmr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@crossmr](https://forums.unrealengine.com/u/crossmr)\
**Post date:** [July 29, 2020, 4:30am UTC](https://forums.unrealengine.com/t/dons-3d-pathfinding-flying-ai-system-with-full-source/57271/348 "2020-07-29T04:30:45Z")

</div>

> [@BoBosan](#):
>
> For anyone who encounter this error.
> 
> The cause is that pawn’s current location is outside DonNavigation’s bound.  
> So, the NavigationManager variable point to nullptr. In C++, It’s possible to dereference nullptr without getting exception but getting crash inside object instead.

Unfortunately I’m getting this error and my pawn is clearly well inside the navigation bounds.

Though switching from bound to unbound manager does make it work. However I’ve verified that my pawn is well inside the bounds of the bound manager and I’m getting that error.

---

<div class="post-metadata">

**Author:** ![ZeothulBrian](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZeothulBrian](https://forums.unrealengine.com/u/ZeothulBrian)\
**Post date:** [July 30, 2020, 8:49pm UTC](https://forums.unrealengine.com/t/dons-3d-pathfinding-flying-ai-system-with-full-source/57271/349 "2020-07-30T20:49:28Z")

</div>

Thank you very much SwenYan!

---

<div class="post-metadata">

**Author:** ![Shann39](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/shann39/32/464955_2.png) [@Shann39](https://forums.unrealengine.com/u/Shann39)\
**Post date:** [October 10, 2020, 5:19pm UTC](https://forums.unrealengine.com/t/dons-3d-pathfinding-flying-ai-system-with-full-source/57271/350 "2020-10-10T17:19:31Z")

</div>

> [@SwenYan](#):
>
> You got it.
> 
> 4.24: [DonAINavigation\_v1.12\_UE\_4.24.zip - Google Drive](https://drive.google.com/open?id=122lWfJLEZmqArmLLRjL90jPr3_DiTPjC)  
> 4.25: [DonAINavigation\_v1.12\_UE\_4.25.zip - Google Drive](https://drive.google.com/open?id=1lPjtoCc3PZaAQ1xpd-tfn1F1DCmqiZEi)

I’m Using the version 4.24 but I’m enable to package the project, I have a this error massage: ERROR: Missing precompiled manifest for ‘DonAINavigation’. This module was most likely not flagged for being included in a precompiled build - set ‘PrecompileForTargets = PrecompileTargetsType.Any;’ in DonAINavigation.build.cs to override.  
PackagingResults: Error: Missing precompiled manifest for ‘DonAINavigation’. This module was most likely not flagged for being included in a precompiled build - set ‘PrecompileForTargets = PrecompileTargetsType.Any;’ in DonAINavigation.build.cs to override.

I try to move the plugin to my project folder and manage to package the project but game didn’t now run at all.  
I’m suck at programming so I ave no idea how to fix this. It’s seem there is some information missing in build.cs file and you need c# no modify it.

Hope someone have an idea on how to fix this.

If unreal 4.26 or 5.0 don’t come with a 3D nav for flying AI, I will be very pist off.

---

<div class="post-metadata">

**Author:** ![Mrob76u](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mrob76u](https://forums.unrealengine.com/u/Mrob76u)\
**Post date:** [December 14, 2020, 7:03pm UTC](https://forums.unrealengine.com/t/dons-3d-pathfinding-flying-ai-system-with-full-source/57271/353 "2020-12-14T19:03:50Z")

</div>

@SwenYan

Thanks so much for your previous posts. Is there any of a 4.26 version? Also would you be so kind as to create a step by step instuctions on how to do this myself and not keep bothering you. Thanks

---

<div class="post-metadata">

**Author:** ![Emrehan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/emrehan/32/1194629_2.png) [@Emrehan](https://forums.unrealengine.com/u/Emrehan)\
**Post date:** [December 19, 2020, 12:10am UTC](https://forums.unrealengine.com/t/dons-3d-pathfinding-flying-ai-system-with-full-source/57271/354 "2020-12-19T00:10:55Z")

</div>

It is really easy to use it on 4.26. Just download the latest version (4.25), find “DonAINavigation.uplugin” in plugin folder, open it with NotePad and find the version. You will see something like “4.25.0”. Change it to “4.26.0” and save it. It’s done. At least it worked on me.

---

<div class="post-metadata">

**Author:** ![Emrehan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/emrehan/32/1194629_2.png) [@Emrehan](https://forums.unrealengine.com/u/Emrehan)\
**Post date:** [December 30, 2020, 12:10pm UTC](https://forums.unrealengine.com/t/dons-3d-pathfinding-flying-ai-system-with-full-source/57271/355 "2020-12-30T12:10:17Z")

</div>

Do anyone have what’s wrong here? My project keeps crashing with this error:

```auto

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0xffffffff

UE4Editor_DonAINavigation_0001!ADonNavigationManager::SchedulePathfindingTask() [C:\Users\diego\Documents\Unreal Projects\DemoProject\Plugins\DonAINavigation-master\Source\DonAINavigation\Private\DonNavigationManager.cpp:2137]
UE4Editor_DonAINavigation_0001!ADonNavigationManager::execSchedulePathfindingTask() [C:\Users\diego\Documents\Unreal Projects\DemoProject\Plugins\DonAINavigation-master\Intermediate\Build\Win64\UE4Editor\Inc\DonAINavigation\DonNavigationManager.gen.cpp:1741]

```

---

<div class="post-metadata">

**Author:** ![DoganKrkyn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DoganKrkyn](https://forums.unrealengine.com/u/DoganKrkyn)\
**Post date:** [February 2, 2021, 2:41pm UTC](https://forums.unrealengine.com/t/dons-3d-pathfinding-flying-ai-system-with-full-source/57271/357 "2021-02-02T14:41:05Z")

</div>

[DonAINavigation-4.26.rar - Google Drive](https://drive.google.com/file/d/1L9aUVhfUtY0cPbB6iINWa6nbnatUCub5/view?usp=sharing) here 4.26 version. i tested and everything ok

[Previous page](https://forums.unrealengine.com/t/dons-3d-pathfinding-flying-ai-system-with-full-source/57271.md?page=16)

[Next page](https://forums.unrealengine.com/t/dons-3d-pathfinding-flying-ai-system-with-full-source/57271.md?page=18)
