4.8 to 4.9 conversion bug

When converting from 4.8 to 4.9 vs Copy I experienced that project cannot be started via ‘Start Debug’ anymore. The path to the engine seems to be wrong. Project must be opened by hand via windows explorer.
Steps to reproduce:

1.) Convert a C++ project from 4.8 to 4.9

2.) Compile it, after successful compile, press F5 or Start debug button

3.) Editor should open and load the project, but instead complains with that MsgBox:

57262-noenginefound.jpg

I won’t be able to help you, but is the specified path correct? The Unused part looks strange. Did anything go wrong while installing 4.9? Did you install 4.8 and 4.9 in the same directory?

Hi!

Errors of this kind usually occur when during attempts to run UE4 project instead of your game project through the Visual Studio debugger.

Please note that this won’t work with the Launcher version of the Engine.

However, you can right-click on your game project in the solution explorer and select the Debug → Start new instance option to debug it.

You can also set your project as default in Visual Studio (for this, please right-click on your game project and select “Set as Startup Project” option). Thus, when you press F5, the Visual Studio debugger will run your project instead of UE4 one.

If you want to be able to debug UE4 solution, you should build the Engine from source code, which can be obtained from GitHub repository (if you like to learn more about this, please go here:

Downloading Unreal Engine Source Code | Unreal Engine 5.2 Documentation)

Hope this helped!

Hi , installation worked without problems. I think it wasn’t even possible to choose an installation folder. Saying this, I found the version inside: \UnrealEngine\UE4\Epic Games folder right beside the other versions I’ve installed. So probably wrong installation is not the issue. Thanks anyway

Hello Arthur,

thanks very much for your help.
Starting the editor with my project from Visual Studio via 'Start Debug ’ and debugging it was working perfectly for me in the last months for Version 4.8 (Launcher Version) and is still working.

So I assumed it would be possible to do it also in 4.9. Do you have any information about if they want to skip this feature? It feels like a bug to me, though.

Thank you for the various ways to work around it. I also downloaded the full source code and was able to build it, but I prefer working with the ‘official’ (Launcher) version because I fear when starting to fix their bugs I tend to change their engine into something that won’t work with further releases anymore.

Solved it.

1.) Start Editor, start task manager, find UE4Editor,.exe, right click on it, open file location, copy path.

2.) Open VS, open your project properties, find Debugging, paste path+exe name to Command.

3.) Save in VS, close Editor, and press F5 (or F6 or click Start Debug), Editor should start with your project