# Running build lighting Commandlet crashes Unreal

**URL:** <https://forums.unrealengine.com/t/running-build-lighting-commandlet-crashes-unreal/393915>\
**Category:** Rendering\
**Tags:** unreal-engine\
**Created:** [May 18, 2017, 3:56am UTC](https://forums.unrealengine.com/t/running-build-lighting-commandlet-crashes-unreal/393915 "2017-05-18T03:56:35Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![anonymous\_user\_c94f194d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c94f194d](https://forums.unrealengine.com/u/anonymous_user_c94f194d)\
**Post date:** [June 7, 2017, 1:38pm UTC](https://forums.unrealengine.com/t/running-build-lighting-commandlet-crashes-unreal/393915/3 "2017-06-07T13:38:42Z")

</div>

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...

"In order to build lighting by command line use the following structure to set it up as a basis:

UE4-Editor.exe [Project Folder Path] -run=resavepackages -buildlighting -MapsOnly -ProjectOnly -AllowCommandletRendering -Map=[Name of map]  
The -Map=[Map Name] can be dropped if you want it to build all the maps/levels available in the project."

This work for us. Make sure that you check out map files that you want to build. Read only map files are skipped.

---

_[View the full topic](https://forums.unrealengine.com/t/running-build-lighting-commandlet-crashes-unreal/393915)._
