Updating engine w/ C++ (ERRORS)

I wanted to update from 4.24 to 4.26 so I:

  1. Created a new blank C++ project in 4.26
  2. Opened old project and migrated old Content to new Content
  3. Copied CPP and H files from old Source to new Source
  4. Updated H files line **class ProjOld_API AMyActor : public AActor **to class ProjNew_API AMyActor : public AActor
  5. Rebuilt project (no errors or warnings)

But when I load the persistent level, a bunch of blueprints are missing (but not all) and I get a whole heap of errors (see pic).

Any ideas? Thanks in advance.

Okay, got there in the end.

I followed this guide:

https://nerivec.github.io/old-ue4-wiki/pages/migrate-content-between-projects.html#Migrating_from_C.2B.2B_Project_to_C.2B.2B_Project

But the formatting of the redirects is different. My version:


[CoreRedirects]
+ClassRedirects=(MatchSubstring=True,OldName="/Script/TF2020",NewName="/Script/TF2021")
+EnumRedirects=(MatchSubstring=True,OldName="/Script/TF2020",NewName="/Script/TF2021")
+FunctionRedirects=(MatchSubstring=True,OldName="/Script/TF2020",NewName="/Script/TF2021")
+StructRedirects=(MatchSubstring=True,OldName="/Script/TF2020",NewName="/Script/TF2021")
+PackageRedirects=(OldName="/Script/TF2020",NewName="/Script/TF2021")


1 Like