It seems whenever I need to change a class name, I get into a world of hurt. For example, I changed ARealLifeCharacter to ADefaultCharacter, file names went from RealLifeCharacter to DefaultCharacter (.cpp and .h). Now half my blueprints are broken and stuff. I also went into the config files and noticed my old class ARealLifeCharacter is being referenced all over the place.
What’s the correct procedure to change a class name?
Thanks!
Edit:
I noticed this in the Engine config .ini file:
[/Script/Engine.Engine]
+ActiveGameNameRedirects=(OldGameName="TP_FirstPerson",NewGameName="/Script/RealLife")
+ActiveGameNameRedirects=(OldGameName="/Script/TP_FirstPerson",NewGameName="/Script/RealLife")
+ActiveClassRedirects=(OldClassName="TP_FirstPersonProjectile",NewClassName="RealLifeProjectile")
+ActiveClassRedirects=(OldClassName="TP_FirstPersonHUD",NewClassName="RealLifeHUD")
+ActiveClassRedirects=(OldClassName="TP_FirstPersonGameMode",NewClassName="RealLifeGameMode")
+ActiveClassRedirects=(OldClassName="TP_FirstPersonCharacter",NewClassName="PlayableCharacter")
Does this need to change, too?