Back to Browse

Upgrading an Unreal Engine Cpp project - Upgrading 5.3 to 5.4 - UE C++ Tutorial

1.1K views
Premiered Oct 5, 2024
9:40

I walk through my experience upgrading my tutorial project from 5.3 to 5.4 on windows. Depending on your project, you may encounter different compile errors from me. But I hope this can show you how to work through those compile errors. Most of the time, I am able to upgrade this project without any compile errors. But occasionally there are small errors like shown in this video. I hope it helps someone! Some additional notes: 1) make sure you have some sort of backup system in place 2) you may want to resave all your content after the upgrade, so blueprints/etc. are saved using the latest engine Let me know if you have any corrections / concerns / tips in the comments section below! 0:00 Disclaimer 0:15 Changing the project version (switch Unreal Engine version...) 0:45 Visual Studio Project Reload 0:50 The first build attempt 1:03 Fixing the build errors 1:08 Fixing DefaultBuildSettings warnings, setting to V5 or latest. DefaultBuildSettings = BuildSettingsVersion.Latest 2:19 Fixing the warning about IncludeOrderVersion - IncludeOrderVersion = EngineIncludeOrderVersion.Latest 3:03 Setting DefaultBuildSettings and IncludeOrderVersion to latest so it auto-detects latest settings. 3:18 New version compile errors 3:24 %p specifier with TObjectPtr types compiler error (static_assert failed '%p' expects a pointer) 3:54 fixing UObject::GetAssetRegistryTags deprecation , Implement the version that takes FAssetRegistryTagsContext instead. 6:10 Fixing more %p TObjectPtr issues 7:21 Running the editor, now on the new version 8:00 Updating your tools (eg entrian) to point to the new engine project location 8:15 Running PIE on the new engine as a quick bespoke smoke test 8:27 Packaging standalone as an additional test. 9:14 Closing remarks

Download

0 formats

No download links available.

Upgrading an Unreal Engine Cpp project - Upgrading 5.3 to 5.4 - UE C++ Tutorial | NatokHD