Hello friends, I am a beginner and I’m trying to follow an online course on public speaking games. I’m facing a problem, and I kindly ask those of you who can help me solve this problem, I will be grateful.
According to the course, the menu was supposed to appear at the beginning of the game, I was supposed to press play, and the game would start. However, it only appears after the first round of the game. In the course, it shows that I only need to put ‘Bp MineMenu’, without ‘Spown the ball’. In this case, the ball doesn’t appear in the game at all. I have attached a photo with ‘Bp’ at the beginning of the game.
In your Begin Play function you are not adding your created Widget to viewport ( as you did in Create Main Menu function ). You can use Add To Viewport or just call your Create Main Menu function in Begin Play.
About spawning the ball, make sure you have at least one Actor of the type you are looking for in Get All Actors of Class in the level.
1 Like