[UE5.6] Cannot find GameMode Blueprint derived from C++ class in Project Settings

Following the official “Code a First-Person Adventure Game” tutorial:

  1. Created C++ class ‘AdventureGameMode’
  2. Created Blueprint ‘BP_AdventureGameMode’ derived from it
  3. Went to Project Settings → Maps & Modes → Default GameMode

https://dev.epicgames.com/documentation/en-us/unreal-engine/code-a-firstperson-adventure-game-in-unreal-engine

Problem
:cross_mark: ‘BP_AdventureGameMode’ doesn’t appear in the dropdown
Why isn’t my Blueprint detected as a valid GameMode?




Same Problem, you can use c++ project to initial.c++ project do not have the problem.By the way, version 5.5.4 do not have the problem either.

1 Like

Solved! Created a new C++ project and it worked. Thanks for the help! :+1:

However, c++project do not match the subsequent courses

I meet the same issue.

I find a walkaround to select the Blueprint derived from C++ class, that is Click the wanted Blueprint in Content Drawer and then Click the button with left arrow icon.

Now, the project can run without any errors or warnings.

But, when I close the project and reopen it, I meet a new issue, as the img show:

All the setting regarding to that Blueprint became invalid, and the C++ class also became invalid.:poop: