# Foliage Recompiles Every Time

**URL:** <https://forums.unrealengine.com/t/foliage-recompiles-every-time/311757>\
**Category:** Rendering\
**Tags:** compiling, unreal-engine, Foliage, Shaders, question\
**Created:** [March 19, 2015, 8:53pm UTC](https://forums.unrealengine.com/t/foliage-recompiles-every-time/311757 "2015-03-19T20:53:29Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![lime517](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lime517](https://forums.unrealengine.com/u/lime517)\
**Post date:** [March 20, 2015, 2:02am UTC](https://forums.unrealengine.com/t/foliage-recompiles-every-time/311757/2 "2015-03-20T02:02:02Z")

</div>

Woot! I figured it out guys. I went into the material editor for each of the affected materials, and unchecked and then rechecked (Under the “Usage” section) - “Used with Static Lighting” and “Used with Instanced Static Meshes”. Applied and saved, and let everything recompile. Worked perfect!

---

_[View the full topic](https://forums.unrealengine.com/t/foliage-recompiles-every-time/311757)._
