I am following a tutorial from Epic and stuck with replacing the Game mode

Hi,
i am following the tutorial Code a First-Person Adventure Game in Unreal Engine | Unreal Engine 5.6 Documentation | Epic Developer Community and on the part Change the Project’s Game Mode i get stuck. When i try to replace the Default Game mode my BP_AdvetureGameMode class is not showing up in the dropdown field. When i select the AdventureGameMode, it defaults straight back to none. I tried this now couple times followed exactly the instructions but it doesn’t work. Does anyone else had this problem and could solve it? Thank you in advance for your help.

2 Likes

I have the exact same issue. Running UE 5.6.0.

Hello there @x_Chloe_K_x!

It sounds like your instance of “BP_AdventureGameMode” might not be properly compiled, or missing a redirector, or improperly set as an Actor (should be a child of “AdventureGameMode”). Let’s try a few steps to resolve this:

  • Open “BP_AdventureGameMode” and re-compile, then check the compiler results for any errors

  • Verify the BP’s parent class, and make sure it’s set to AdventureGameMode

  • Select your project’s main folder, right click, and select “Fix Redirectors”

  • Close UE, and perform a cache clear, via deleting folders Binaries, Saved and Intermediate. Then, re-generate your project files from VS

I’ve got the same problem in UE 5.6.0
Sadly those steps didn’t help in my case.
I followed the steps exactly as written on the tutorial page 3 times in a row now and still the same issue.
Funny enough, the exact same steps work in UE 5.5.4
Except that you can’t create the same project as in the tutorial…

I think the problem is that it isn’t even possible to actively select the AdventureGameMode (c++ version) and from there it spirals to the not even listed BP version which got created from the defective c++ version…

But the tutorial only says: Tools → New C++ Class → template = Game Mode Base → build in visual studio (with unreal engine closed) → start unreal engine → deactivate Live Coding → Right Click the new C++ Class → Create Blueprint class based on AdventureGameMode (or whatever you named it :wink: )

There is no modifying the cpp/h files in those steps yet, and as I tested and said before in 5.5.4 it works exactly that way.

1 Like

Hello,
I could make it work in 5.6 by choosing either a blank project or Third-Person-template project instead of the First-Person.
Haven`t tried any other template.
i also tried the suggestions from @brs-sebascova.

Nevertheless i will submit a bug request.
Wrote bug report, tried to commit, got infinite loop (maybe some session-token expired)
Even though 5.6 is very new, a basic/beginner tutorial for C++ should always work.

To fix the issue with your BP_AdventureGameMode not showing up in Project Settings:

  1. Open the Blueprint and click Compile to ensure no errors.
  2. Check that it inherits from your C++ GameMode, not GameModeBase.
  3. Right-click the folder it’s in and choose “Fix Redirectors”.
  4. If still broken, close UE, delete Binaries, Saved, and Intermediate, then regenerate project files.

This usually resolves the dropdown issue in UE 5.6.