I spent my whole day debugging it, and finally figured it out. Here is my solution:
- Find “Config/DefaultEngine.ini” in your project folder, open it.
- Search for “ActiveGameNameRedirects”. Hopefully you will find 4 lines:
+ActiveGameNameRedirects=(OldGameName="TP_FirstPersonBP",NewGameName="/Script/YourProjectName")
+ActiveGameNameRedirects=(OldGameName="/Script/TP_FirstPersonBP",NewGameName="/Script/YourProjectName")
+ActiveGameNameRedirects=(OldGameName="YourProjectName",NewGameName="/Script/MyProject")
+ActiveGameNameRedirects=(OldGameName="/Script/YourProjectName",NewGameName="/Script/MyProject")
- Delete these two lines
+ActiveGameNameRedirects=(OldGameName="YourProjectName",NewGameName="/Script/MyProject")
+ActiveGameNameRedirects=(OldGameName="/Script/YourProjectName",NewGameName="/Script/MyProject")
and leave only
+ActiveGameNameRedirects=(OldGameName="TP_FirstPersonBP",NewGameName="/Script/YourProjectName")
+ActiveGameNameRedirects=(OldGameName="/Script/TP_FirstPersonBP",NewGameName="/Script/YourProjectName")
- Reopen Unreal. Problem solved.
So this is a bug of template FirstPersonBP. Hope the official team fix it soon.