Why can't I select my widget as a node in Blueprint?

Try dragging off the “as how to UMGGame Mode Base” connection, not the exec connection

if you compiled the gamemodebase bp, there shouldn’t be. I just tried a setup and it worked

sorry, I meant to say if you compiled your “HowTo_UMGGameModeBase” in the editor then it should work

Hello! I was following the UI/UMG tutorial in the Unreal docs and hit a wall with the Blueprint section. The tutorial ([available here][1]) calls for connecting several nodes under two events, and I’m stuck on this step: “Connect a ChangeMenuWidget node to use the function we added to our GameMode earlier.” This is what it’s supposed to look like:

https://docs.unrealengine.com/latest/images/Programming/Tutorials/UMG/3/OnClicked_NewGame.jpg

And this is what mine looks like:

The ‘Change Menu Widget’ isn’t on the list. The only difference between my code and the code in the tutorial is that my GameMode scripts end in the word “Base” so I have HowTo_UMGGameModeBase (as one example). But otherwise, the projects are thus far identical. It must be something really simple I’ve overlooked. What am I doing wrong?

Just tried it. Still no luck. Would it be an issue with the code?

How did you do that? I don’t have a Blueprint class for GameModeBase, only the C++ class.

Did a recompile and redid this portion of the tutorial. Still no luck.

Well I fixed the problem but I’m not sure what happened. Due to unrelated issues, I had to restart my computer and was unable to properly close everything. Upon reopening Unreal 4, I was prompted to “restore” my blueprints, which apparently fixed my problem. For anyone who comes across this in the future, perhaps the old adage is true. Close and reopen Unreal to see if that fixes things.