How can I hide the c++ compile button in Unreal Engine 4.22 #NOTE Disabling "Enable live code" wont do anything

Hello @OgDontStop ,Welcome Back to the forums!

You can use an Editor Utility Blueprint to customize the toolbar or you can use plugin and C++ as mentioned in this post

I also found a post that mentions a possible solution for modifying the toolbar.

Lastly, here’s a workaround I found — and it works as long as your project doesn’t have any active C++ classes.
Here are the steps:

  1. Close the project.

  2. Go to the folder where your project is located.

  3. Delete the Source folder and the .sln file, since they contain all the C++ content.
    image

  4. Open your .uproject file with Notepad.

  5. Remove the entire section that says “Modules”, including the word Modules.

I’m also leaving an example of how it looks in a test project I created.
With C++


Without C++

With that, the Compile button should disappear.
Just to clarify again: this only works if your project truly doesn’t use any C++ code.

Hope it helps!