# Automating navigation/paths build

**URL:** <https://forums.unrealengine.com/t/automating-navigation-paths-build/395790>\
**Category:** AI\
**Tags:** automation-tool, ai-navigation, commandlet, unreal-engine, question\
**Created:** [June 7, 2017, 2:23pm UTC](https://forums.unrealengine.com/t/automating-navigation-paths-build/395790 "2017-06-07T14:23:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nevermore](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nevermore](https://forums.unrealengine.com/u/Nevermore)\
**Post date:** [June 7, 2017, 2:23pm UTC](https://forums.unrealengine.com/t/automating-navigation-paths-build/395790/1 "2017-06-07T14:23:27Z")

</div>

Is there a way to rebuild navigation paths through command line similar to ResavePackages commandlet? It would be used for as part of automating the build process with Jenkins

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_98778e19](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_98778e19](https://forums.unrealengine.com/u/anonymous_user_98778e19)\
**Post date:** [June 26, 2017, 11:12am UTC](https://forums.unrealengine.com/t/automating-navigation-paths-build/395790/2 "2017-06-26T11:12:56Z")

</div>

Same here, I tried writing a commandlet myself, but it failed because

> Commandlets are executed in a “raw” environment, in which the game isn’t loaded, the client code isn’t loaded, no levels are loaded, and no actors exist.

---

<div class="post-metadata">

**Author:** ![BorodMorod](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BorodMorod](https://forums.unrealengine.com/u/BorodMorod)\
**Post date:** [December 25, 2019, 9:52am UTC](https://forums.unrealengine.com/t/automating-navigation-paths-build/395790/3 "2019-12-25T09:52:32Z")

</div>

Is it still impossible to build navigation from commandline?

---

<div class="post-metadata">

**Author:** ![minnow](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@minnow](https://forums.unrealengine.com/u/minnow)\
**Post date:** [March 29, 2020, 8:27am UTC](https://forums.unrealengine.com/t/automating-navigation-paths-build/395790/4 "2020-03-29T08:27:19Z")

</div>

I need it…

I tried this site.  
[https://forums.unrealengine.com/unreal-engine/feedback-for-epic/44406-build-static-lighting-from-command-line](https://forums.unrealengine.com/unreal-engine/feedback-for-epic/44406-build-static-lighting-from-command-line)

```
UE4Editor.exe "<.uproject file>" <map name> -AutomatedMapBuild CLDesc="<commit message>" UseSCC=<true|false>

```

Nav build is good. but I should hidden some streaming levels. but It couldn’t it.  
Anybody have some idea?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f2726b30](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f2726b30](https://forums.unrealengine.com/u/anonymous_user_f2726b30)\
**Post date:** [April 2, 2020, 8:17pm UTC](https://forums.unrealengine.com/t/automating-navigation-paths-build/395790/5 "2020-04-02T20:17:50Z")

</div>

You should be able to do FNavigationSystem::Build(\*World) through a commandlet. As long as -AllowCommandletRendering is set and the levels and sublevels for the world are loaded.
