Main Menu won't play the game

Hello, I followed a tutorial on how to make a third person temple run like game (link: Endless Runner: Overview & Player Control | 01 | v4.7 Tutorial Series | Unreal Engine - YouTube). Unfortunately I do not have enough experience with coding and especially Unreal Engine so it’s made doing the extras interesting.

Anyways I followed this guide (link: https://docs.unrealengine.com/latest/INT/Engine/UMG/QuickStart/3/) in creating a Main Menu. The issue I am facing is that whenever I click “Play Game” the game does not launch/begin. Now since I have already made the game and I know it did work it’s made coding messy because I am unsure where some of it goes as I assume is why the game is not properly working. Another issue I have noticed is when I go into settings and try and change the resolution settings that I have created they don’t change. I am unsure whether that’s an issue from my doing or whether it just doesn’t work because it’s in the Unreal Engine software.

Any sort of advice would be grateful!

Resolution Coding: (Below)

https://scontent-syd1-1.xx.fbcdn.net/v/t1.0-0/p417x417/13906771_1227146240643650_8740242593623949723_n.jpg?oh=82a3511947b657193b55ad54b858f95a&oe=58222408

Run Game Mode Coding: (Below)

https://scontent-syd1-1.xx.fbcdn.net/t31.0-8/13975253_1227147313976876_4187753739563172834_o.jpg

Main Menu Coding: (Below)

https://scontent-syd1-1.xx.fbcdn.net/t31.0-8/13975333_1227147317310209_8708857274443376995_o.jpg

Have you tried using On Pressed event instead of On Clicked? I had similar issue where for some reasons OnClicked didn’t want to work at all.

Well, you put the main menu code in your game mode blueprint . People usually use an empty map for the main menu, and set that map as the default map.

I added in the On Pressed event, it didn’t change anything unfortunately. I also disconnected my On Clicked event and that still didn’t change anything.

So I create a new function under RunGameMode for the main menu?

And sorry I didn’t follow what you meant in the second sentence, it sort just went over my head with what you meant haha.

haha dont worry…

Well, no… you are using the GameMode Class, and you shouldn’t create there. You should use GameInstance class…(but that is a little more advanced)
I will give some step to have a main menu working with some pretty basic setup…

  1. Create a new EMPTY level
  2. Go to the LEVEL Blueprint of the empty level
  3. Add a begin play node, and conect to your “create widget” node and the “Add To Viewport” node.
  4. or watch this tutorial Unreal Engine 4 Tutorial - UMG - Basic Menu - YouTube

Please let me know if you make it work!

Sorry it’s been a while, but I have managed to get onto the computer once again.

I watched the video and did step by step.

There was one difference with mine and the videos and that was my “Remove from Viewport” is “Remove all Widgets” because there wasn’t the one that was in the video, and I assumed that was the new name for the function.

But on that note the video still didn’t help to get the game going nor did the resolution options work.

This post has now been resolved: Repost: Main Menu won't work - Blueprint - Epic Developer Community Forums