# Compile button missing in editor - hotloading not working

**URL:** <https://forums.unrealengine.com/t/compile-button-missing-in-editor-hotloading-not-working/456212>\
**Category:** Platform & Builds\
**Tags:** build, unreal-engine, UE4, CPP, question, compile-editor, compilation-log\
**Created:** [September 30, 2019, 3:48am UTC](https://forums.unrealengine.com/t/compile-button-missing-in-editor-hotloading-not-working/456212 "2019-09-30T03:48:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![smelnick97](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@smelnick97](https://forums.unrealengine.com/u/smelnick97)\
**Post date:** [September 30, 2019, 3:48am UTC](https://forums.unrealengine.com/t/compile-button-missing-in-editor-hotloading-not-working/456212/1 "2019-09-30T03:48:26Z")

</div>

Recently while working with an Unreal C++ project, I have been unable to compile from the editor or hotload any compiled code.

In the past, I was able to see the compile button directly next to the build button, but now the button is missing from the editor toolbar. If I attempt to compile using the keyboard shortcuts, the following message appears in the output log:

`Warning: RebindPackages not possible (no packages specified)`

Building in Visual Studio still works properly, though the new binaries are not loaded into the editor. Exiting and reloading the editor reloads the expected changes.

Additionally, creating a new C++ project allows me to compile from the editor normally.

I’ve only added a few small source files to the project, including adding a shader folder according to this: [Virtual Shader Source Path - Link custom Shaders - Shadertoy Demo download - Rendering - Unreal Engine Forums](https://forums.unrealengine.com/development-discussion/rendering/1562454-virtual-shader-source-path-link-custom-shaders-4-21-4-22)

Is there a simple way to re-enable compilation from the editor, or is it something I need to fix with the main module?

 ![288808-compile-missing-unreal.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/d/0/bd03b6f0357c279949a46a242a1766b63b286e4c.png)

---

<div class="post-metadata">

**Author:** ![smelnick97](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@smelnick97](https://forums.unrealengine.com/u/smelnick97)\
**Post date:** [October 7, 2019, 2:15am UTC](https://forums.unrealengine.com/t/compile-button-missing-in-editor-hotloading-not-working/456212/2 "2019-10-07T02:15:32Z")

</div>

I was able to fix the issue by adding a bool IsGameModule() function to my main module class, the same as in ShenYuan’s answer in [Compile Button & C++ Classes Missing in Editor - Programming & Scripting - Unreal Engine Forums](https://answers.unrealengine.com/questions/211187/view.html)
