Hi everyone,
I’m completely new to Unreal Engine and fairly new to C++, though I have several years of experience with other programming languages like Java, JavaScript, and C.
I’m currently working through the official tutorial Code a First-Person Adventure Game in Unreal Engine, but I’ve run into a few issues that I just can’t make sense of, and I’d really appreciate some help understanding what’s going on.
I’m trying to dig into each problem step by step, double-checking everything carefully. Still, this particular issue has me completely stuck:
Issue 1: Blueprint not showing up in dropdown lists
As shown in [picture1-1] and [picture1-2], my Blueprint BP_AdventureGameMode
doesn’t appear in the dropdown menus for GameMode Override or Default GameMode.
Here’s what I did:
- I followed the tutorial exactly: first created the C++ class
AdventureGameMode
, then created the corresponding BlueprintBP_AdventureGameMode
based on it. - There were already some tricky parts early on (like needing to close the editor before building), but I got through that.
- However, even after everything compiled successfully,
BP_AdventureGameMode
still doesn’t appear in the expected dropdowns.
I found a workaround: dragging the Blueprint directly into the GameMode slot from the Content Browser seems to work ([picture2-1], [picture2-2]).
After doing that, everything appears to be working properly. When I build and press Play, I get the expected in-game message ([picture3]).
Issue 2: Reference breaks after restarting the editor
Here’s the big problem:
Every time I restart the Unreal Engine editor, I get a warning message ([picture4-1]),
and the reference to BP_AdventureGameMode
is completely broken ([picture4-2], [picture4-3], [picture4-4]).
This keeps happening every single time I restart the editor. I’ve recreated the project from scratch and followed the tutorial step-by-step multiple times — the issue is always the same.
I honestly don’t understand what’s going on. It feels like Unreal Engine is unstable, and I’m starting to worry whether I’ll be able to reliably build anything with it if this kind of issue keeps happening.
Any insights or help would be greatly appreciated.
Why does this reference keep breaking after restarting the editor?
Is this a bug, or am I missing something fundamental?
Thanks in advance!