# Why my plugin is being recompiled on each live coding compilation?

**URL:** <https://forums.unrealengine.com/t/why-my-plugin-is-being-recompiled-on-each-live-coding-compilation/532702>\
**Category:** Plugins\
**Tags:** unreal-engine, UE5-0, Plugins, question\
**Created:** [April 18, 2022, 7:01pm UTC](https://forums.unrealengine.com/t/why-my-plugin-is-being-recompiled-on-each-live-coding-compilation/532702 "2022-04-18T19:01:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Herobrine20XX](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/herobrine20xx/32/1194718_2.png) [@Herobrine20XX](https://forums.unrealengine.com/u/Herobrine20XX)\
**Post date:** [April 18, 2022, 7:01pm UTC](https://forums.unrealengine.com/t/why-my-plugin-is-being-recompiled-on-each-live-coding-compilation/532702/1 "2022-04-18T19:01:07Z")

</div>

Hey everyone,

I’ve been having a weird issue with live coding. Each time a recompile is triggered, even without touching a single file, it ALWAYS recompile my marketplace plugin.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/7/8/c78268af00779c9c2ec491124d60469e7df9f644.png)

For example, it displays that `Module.ElectronicNodes.cpp.obj was modified or is new` but the file was always there, is not new, nor it is modified…

- Do you know why? (The plugin does not modify itself)
- If not, do you know if there’s a way to disable the live coding for my plugin?

(The problem, obviously, is that’s a fairly slow operation and kinda break the purpose of fast live coding update)

---

<div class="post-metadata">

**Author:** ![RecourseDesign](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/recoursedesign/32/1194503_2.png) [@RecourseDesign](https://forums.unrealengine.com/u/RecourseDesign)\
**Post date:** [April 18, 2022, 7:42pm UTC](https://forums.unrealengine.com/t/why-my-plugin-is-being-recompiled-on-each-live-coding-compilation/532702/2 "2022-04-18T19:42:41Z")

</div>

I’ve had similar issues in the past - and sometimes it’s been because the files have a later modified date than the current date - I’ve had to go through and re-save them. Not sure if that will be your issue here though.

---

<div class="post-metadata">

**Author:** ![Herobrine20XX](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/herobrine20xx/32/1194718_2.png) [@Herobrine20XX](https://forums.unrealengine.com/u/Herobrine20XX)\
**Post date:** [April 18, 2022, 7:56pm UTC](https://forums.unrealengine.com/t/why-my-plugin-is-being-recompiled-on-each-live-coding-compilation/532702/3 "2022-04-18T19:56:32Z")

</div>

Thanks a ton for you for your response!

Sadly, the files are automatically compiled at the launch of the editor (don’t really know why tbh, since it’s a marketplace plugin that should already be compiled), so their last modification is at the start of the engine.

After some more investigation, someone pointed to me that it was a known issue that impacted all marketplace plugins:

> [@Why does UE5 compile every module every time?](https://forums.unrealengine.com/t/why-does-ue5-compile-every-module-every-time/521356):
>
> After upgrading my 4.27.2 project to 5.0, every time I make even a tiny change in one of my game’s source files the build tool seems to recompile a whole bunch of modules (seems to be all my plugins), so my build times went from \< 10s to over a minute. The link steps take the longest. I’m not building the engine from source BTW. I looked through the migration guide and couldn’t find any obvious reason it would be doing this. Can anyone help me please? I’ve attached my build log. [ue5\_build\_…](https://forums.unrealengine.com/uploads/short-url/wfApPyoUIOGdBsYNd6NNGoDlQpO.txt)

For anyone finding this, you can fix temporary this bug by adding `bUsePrecompiled = true` to the `.Build.cs` file of the impacted plugins (don’t submit a marketplace update with this, though)

---

<div class="post-metadata">

**Author:** ![neofuturelabs](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/neofuturelabs/32/1194562_2.png) [@neofuturelabs](https://forums.unrealengine.com/u/neofuturelabs)\
**Post date:** [April 19, 2022, 11:18am UTC](https://forums.unrealengine.com/t/why-my-plugin-is-being-recompiled-on-each-live-coding-compilation/532702/4 "2022-04-19T11:18:20Z")

</div>

Had the same issue when I updated to 5.0.0

Another way to resolve it is by moving the plugin’s project folder from the engine folder into your project/Plugins folder so that it builds alongside your project. This makes your project more portable too, so I think I’m going to be doing this for any plugins I acquire from now on
