Hot Reload problem - LINK : fatal error LNK1104: cannot open file Game-DebugGame.dll

Hi,

I can’t hot reload my Project. The error that I get is fatal error LNK1104: cannot open file 'C:\ProjectPath\Binaries\Win64\UE4Editor-MyGame-Win64-DebugGame.dll'.

It’s only happening when I use the solution configuration “DebugGame Editor” It works fine if I use “Development Editor” but if I use that I can’t debug.

I have tried all the solutions I could find regarding this problem:

LINK : fatal error LNK1104: cannot open file - C++ - Unreal Engine Forums (this one just says “close” the editor, which is not a solution)
Cannot build project - LINK : fatal error LNK1104: cannot open file - Platform & Builds - Unreal Engine Forums

I tested my setup with other projects and it works fine.

This Is the UnrealBuildTool Log:
link text

I run a test, compiling all the Blueprints with no errors. And removed all the plugins but DungeonArchitect and Apex (which I think are not the problem)

I tried running Visual Studio as admin as well as checking if the file was read only.

No success so far.

Can anybody help me?

Many thanks.

It’s funny,

I tested thousands of things but clicking the “Compile” button on the editor, and it works pressing it.

I still can’t Ctrl + Shift + B (or click build) on visual studio. Which I’ve been doing for years.

Is there a reason for this?

Was similar problem.
I solved this with these steps:

  1. In the game project folder remove “Binaries” and “Intermediate” folders
  2. Right click on .uproject file → “Generate visual studio project files”.
  3. Run the project and agree to build.

Had the same issue. For me the solution was to close UE which was still open with my project in the background

thank you bro…worked for me

Thanks, this solved the problem for me.
Have a great day.

Hi all, I am currently facing the same problem but haven’t been able to find a solution. My program crashed today after which the program wouldn’t start up when I asked to use the last successful build (got stuck on 75%) and I get these errors when I try to build from source:

I haven’t created a repository yet, as that is still very new to me. I tried the steps mentioned (delete “Binaries” and “Intermediate” folders etc.). Any idea what it could be?

I have solved it! In my case, it was just a corrupt blueprint that had somehow driven Visual Studio crazy. Deleting said blueprint and replacing it with an older version from the “saved” folder did the trick (of course removing the “_AutoSave1” from its name).

In my case the reason of this problem was in visual studio configuration. With Development Editor configuration it works correctly.

I saw that playout with a project I had ran into this with as well.