Has anyone been able to convert this 4.27 project to unreal 5?

I am trying to convert this 4.27 project to 5.5. I was curious if anyone was able to or if someone could help me?

Yes is possible but it will break some features.
Do you have experience with c++? Can you share the error list?

Fap don’t allow me to download the project, because I don’t have that version of the editor.

Hey,

May you be great.

There are just a few steps to follow, let’s get started.

  1. Go to your project directory, Right Click on UnrealMatch3.uproject and Generate Visual Studio project files, wait complete and open your generated UnrealMatch3.sln.

  2. In UnrealMatch3Editor.Target.cs add the following code right bellow Type = TargetType.Editor;

CppStandard = CppStandardVersion.Cpp20;
DefaultBuildSettings = BuildSettingsVersion.V5;
IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_5;
  1. In UnrealMatch3.Target.cs comment or delete the follwing lines:
bCompileAPEX = false;
bCompileNvCloth = false;
bCompileForSize = true;
  1. In Match3GameInstance.cpp" add the include: #include "Interfaces/OnlinePurchaseInterface.h"

  2. Update the deprecated code in Match3GameMode.cpp, by replacing CurrentWidget->RemoveFromViewport(); to: (mine is in row 202)

CurrentWidget->RemoveFromParent();
  1. Reorder the included header files as compile suggest, make each mecioned include first:

I’ve tried to add as much details as possible, maybe someone in the future may need this as well.

Bye.

1 Like

Thanks for the help here! Few things, CppStandardVersion.Cpp20 is not available, BuildSettingsVersion.V5 is not available, and I cant use this: IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_5;

I am using Rider if that makes any difference… Is there another file I need to update?

Thanks!

Hi,

I don’t know any about Rider, have you edited the right files?!

In my case I’m using visual studio and it worked great for me.

Could you share the compile error you are getting?

I fresh downloaded the project and tried with Visual Studio.

This is the error for the lines in UnrealMatch3Editor.Taret.cs

image

Then the header files cannot find the generated files.

Ok,

So do not add the code in the UnrealMatch3Editor.Taret.cs, try to compile and paste here the error you get.

Let’s see what unreal engine says and start from there.

It builds without those lines! It will even run and start up 4.27.

Have you got build and run it? If so I’m glad.

In my case that lines were necessary to run in my 5.5 version.

By the way, just checking, have you tried to switch the engine version?

Yeah, it builds and runs. Not sure why I can’t add those lines.

Don’t worry, it doesn’t matter!

If it is working that’s enough.

Please consider mark the correct answer or post and mark it to help others in the future.

Bye.

It still isn’t running in 5.5. I tried opening it with 5.5 and it asks to make a copy. But it fails to open it in 5.5.

WHAT?

I thought it was running.

Are there none compile errors/warning?

I still can’t get these lines to compile"
image

Is version switching as simple as right click → switch unreal engine version?
I am getting a Dotnet error:
Invalid runtimeconfig.json [C:\Program Files\Epic Games\UE_5.5\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.runtimeconfig.json][C:\Program Files\Epic Games\UE_5.5\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.runtimeconfig.dev.json]

Good! Now seems we are in the right way.

I think I’ve got the whole issue, your Visual Studio SDK is not complete/correct.

Check if your Visual Studio 2022 compiler version is 14.38, if not install it and try again. Many are using 14.43, but it is not the latest preferred version by unreal.

After that it may work great.

I got it to work! I had to reinstall UE 5.5 for the DotNet issue.

Thanks a million!

I did have to comment this:

//CppStandard = CppStandard.Cpp20;

When would I want to try to use Cpp20?

Congrats!

My compiler required that, that why I added.