Description

In 4.21.1 it is no longer possible to perform a Hot Reload when the game is open in the Editor and using the DebugGame Editor configuration.

REGRESSION:
Yes. A Hot Reload was possible in 4.20.3 when using the DebugGame Editor configuration

Steps to Reproduce
  1. Create a new Code project using the First Person Template.
  2. Change the Solution Configuration to DebugGame Editor.
  3. Set the game project to be the StartUp Project.
  4. Build the project in Visual Studio.
  5. In Visual Studio, start the project without debugging (Ctrl + F5).
  6. After the project opens in the Editor, make a change to any code file in Visual Studio.
  7. Right-click the project in the Solution Explorer window and Build the project.

RESULT:
The build fails with a message similar to the following: 2>LINK : fatal error LNK1104: cannot open file 'D:\Unreal Projects\Current Issues\TestDebug2\Binaries\Win64\UE4Editor-TestDebug2-Win64-DebugGame.dll'

EXPECTED:
The build completes successfully and a Hot Reload is performed to update the project in the Editor.

WORKAROUND:
Close the Editor and perform a normal non-Hot Reload build in Visual Studio.

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-67911 in the post.

2
Login to Vote

Fixed
ComponentCore - Hot Reload
Affects Versions4.21.14.22
Target Fix4.22
Fix Commit4758134
Main Commit4758134
Release Commit4862694
CreatedDec 31, 2018
ResolvedJan 19, 2019
UpdatedFeb 12, 2019