# Macro Library attempts to "recompile" at every startup

**URL:** <https://forums.unrealengine.com/t/macro-library-attempts-to-recompile-at-every-startup/357056>\
**Category:** Blueprint\
**Tags:** macro-library, unreal-engine, question, Blueprint\
**Created:** [May 11, 2016, 12:02am UTC](https://forums.unrealengine.com/t/macro-library-attempts-to-recompile-at-every-startup/357056 "2016-05-11T00:02:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![aureon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@aureon](https://forums.unrealengine.com/u/aureon)\
**Post date:** [May 11, 2016, 12:02am UTC](https://forums.unrealengine.com/t/macro-library-attempts-to-recompile-at-every-startup/357056/1 "2016-05-11T00:02:07Z")

</div>

Once per editor session, on the first play attempt, a macro library will attempt to recompile:  
[http://puu.sh/oNnGc/e4fb152e54.jpg](http://puu.sh/oNnGc/e4fb152e54.jpg)  
[http://puu.sh/oNpTB/ff56e71503.png](http://puu.sh/oNpTB/ff56e71503.png)  
The recompile takes upwards of five minutes - it’s probably recompiling every single blueprint which references it, which is pretty much the entirety of my project, since it contains very basic macros.  
Is there any workaround for this?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [May 11, 2016, 2:47pm UTC](https://forums.unrealengine.com/t/macro-library-attempts-to-recompile-at-every-startup/357056/2 "2016-05-11T14:47:10Z")

</div>

Hi aueron,

- Does this occur in a clean, blank project with no additional content or is it limited to one project?
- What steps can I take to reproduce this error on my end?
- Is this limited to one macro library or does it occur with multiple macro libraries?

---

<div class="post-metadata">

**Author:** ![aureon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@aureon](https://forums.unrealengine.com/u/aureon)\
**Post date:** [May 11, 2016, 3:07pm UTC](https://forums.unrealengine.com/t/macro-library-attempts-to-recompile-at-every-startup/357056/3 "2016-05-11T15:07:14Z")

</div>

Hi ;  
The issue is limited to the specific library.

The issue persists in a blank slate project (With the specified library added!)  
Project : (Including config, but in any case, please set “Editor \> Play \> Auto Recompile Blueprints” to false)  
[https://dl.dropboxusercontent.com/u/783175/test.rar](https://dl.dropboxusercontent.com/u/783175/test.rar)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [May 11, 2016, 6:09pm UTC](https://forums.unrealengine.com/t/macro-library-attempts-to-recompile-at-every-startup/357056/4 "2016-05-11T18:09:30Z")

</div>

Hi aureon,

I was able to reproduce this on my end and have entered a bug report, UE-30612, to be assessed by the development staff. It appears that merely having the macro library in a project will cause the recompilation warning to appear. Unfortunately, at this time I do not have a viable workaround for the error.

---

<div class="post-metadata">

**Author:** ![caswal](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@caswal](https://forums.unrealengine.com/u/caswal)\
**Post date:** [June 2, 2016, 12:02am UTC](https://forums.unrealengine.com/t/macro-library-attempts-to-recompile-at-every-startup/357056/5 "2016-06-02T00:02:27Z")

</div>

We had the same issue and fixed it by moving our offending macro’s into a C++ Function library.
