4.8 to 4.9 conversion bug

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!