Can't compile code or refresh code in-editor?

Yesterday i was just adding some code to an actor in visual studio and hot reloading as usual when i noticed my code wasn’t updating in-editor? no problem, i’'ll just close UE and reopen it… Same problem except now i notice not only is my code not updating but the compile button is permanently disabled? (see picture below)

At this point i’ve been doing everything i can think of to reset some broken cache/temp files, even to go as far
as to uninstall UE 4.9.2 and reinstall it but same issue. I’ve also opened some other projects in 4.9.2 and they all have the same disabled compile button? So… its not the project and also not the engine that’s causing the bug?

Some info:

Engine version : 4.9.2
Engine type: From launcher (Not source code version)
Reproducible in clean c++ project: Yes

I’ve opened a copy of my project in 4.10.4 and the bug is gone but i’m not willing to move my project to 4.10 yet unless i absolutely have to.

83831-bug.png

Yes, I’ve done full rebuilds (Clean, rebuild all, etc) then opened the editor and same thing

After closing the editor did you try building it from inside Visual Studio and then open the project?

Hey AndrewM47-

Can you try using the Verify button to verify your engine version? Prior to the compile button being grayed out, were you hot reloading by building though VS or with the compile button? If you compile in VS with the editor still open, does it trigger a hot reload in your project? Also, do you have the same issue with the disabled button for newly created projects as well?

Yes I’ve verified the engine through the launcher and it didn’t affect anything. Prior to the bug i was hot reloading by building through VS not using the compile button. When i build with visual studio with the editor open, it no longer triggers the hot reload in my project. Yes, now it has affected other projects that use the same engine version (4.9.2) newly created and old.

I fixed my problem by deleting the engine files manually in C:\ProgramFiles\UnrealEngine\4.9

Deleting the engine through the launcher didn’t fix it like i said but this way it did.