# Static lighting missing when building from command line

**URL:** <https://forums.unrealengine.com/t/static-lighting-missing-when-building-from-command-line/420524>\
**Category:** Rendering\
**Tags:** build-lighting, static-lights, command-line, unreal-engine, question\
**Created:** [March 22, 2018, 5:43am UTC](https://forums.unrealengine.com/t/static-lighting-missing-when-building-from-command-line/420524 "2018-03-22T05:43:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_39142901](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_39142901](https://forums.unrealengine.com/u/anonymous_user_39142901)\
**Post date:** [March 22, 2018, 5:43am UTC](https://forums.unrealengine.com/t/static-lighting-missing-when-building-from-command-line/420524/1 "2018-03-22T05:43:47Z")

</div>

Hi,

I’m using the following command line to build lighting

D:\p4\UE4\Code\Engine\Binaries\Win64\UE4Editor-Cmd.exe D:\p4\UE4\Code\Project\Project.uproject -run=resavepackages -buildlighting -MapsOnly -ProjectOnly -AllowCommandletRendering -Messaging

but result does not include any static lighting.  
If I build lighting from the editor however, all lighting appear to be normal.

Any ideas?  
Thanks!
