I’m using UE 4.16 and i did exactly like this link https://docs.unrealengine.com/latest/INT/Engine/UMG/QuickStart/4/index.html but the mainmenu is not disappear and another problem is hoverd color style isn’t working as well i really don’t know if it’s bug or what? please help me to check it
Update all issues aren’t working on UE 4.16 but these issues are working fine in UE 4.15
Are you saying that you can create a working version on 4.15, then convert it to 4.16 and it stops working? If that’s true then just wait out for 4.16.1
In the meantime, use more tags, you have three remaining. And make your post easier to read, like, using capital letters at the beginning of words and the word “I”.
Thank you for teaching me.Well i actually created a emptylevel for mainmenu as others said on this link Menu Widget Won't Go Away 4.10 - UI - Epic Developer Community Forums it’s all works.
i didn’t convert it to 4.16 i just tried another version which is 4.15 then everything is working fine
Good, so if you still have a 4.15 version of your project, use that instead, or, reimport your assets to a new 4.15 project and then wait out for 4.16.
In the meantime, reedit your post to make it more readable, honestly. And give more information and the steps to take to reproduce this problem.
Thanks you for helping me,My first problem is when i clicked the play button then the MainMenu will appear on the screen then i click Play Game Button which is on MainMenu but the MainMenu didn’t disappear it’s just still remaining the on screen,Myproject and blueprints are the same and i did exactly this link https://docs.unrealengine.com/latest/INT/Engine/UMG/QuickStart/4/index.
My second problem is hovered style as this link https://docs.unrealengine.com/latest/INT/Engine/UMG/QuickStart/3/index.html
on this picture
I did the same thing as well then i clicked play button then the MainMenu will appear then i dragged cursor to each button on the MainMenu but the hovered color didn’t appear,sometime appear and disappear which is i don’t understand why is it like that.So i think it’s a bug that’s all my problem i’m sorry for my english thank you
Update UE 4.16.1 it’s still having the same problem the hovered color style isn’t working
On the Play Game event, are you firing the RemoveFromParent
on the Main Menu widget?
Your image is for Hovered is null, try adding a basic sprite to it to see what happens.
Go into the Hover Event of that button and fire a PrintString
statement. If this doesn’t fire, then we know that it, for some reason, isn’t registering your hover events.
If it does print, then we know that there is something with the coloring button.
If that’s the case, then try creating a new widget, adding the button, and setting the hover style, and see what it looks like from there. If it works with the new button on the clean button, then we need to figure out what the different between the too widgets are, and where we went wrong.
Also, if you use the default color for the hover event, does it work then?
No, but if the print string fires “hello” to the screen in the top left corner, its a very easy way to see if the game is reaching that area.
So if it prints “hello” on the string, we will know that your Hover Event is working fine, but the color change is the issue.
If it does not print “hello” then we know for some reason, the game is no longer registering hover events.
On the Play Game event, are you firing the RemoveFromParent on the Main Menu widget? Yes
Also, if you use the default color for the hover event, does it work then? Yes, It does
So you will say 4.16 i have to fire a printstring statement then it will works ?
Hi,Yes it does print hello with color, but hover events don’t have color when i dragged cursor to each menu.May you test it on your computer please?
You can take a look at my video here
As i said when i clicked play then the mainmenu will appear i dragged cursor on each menu but the color didn’t appear.But everything is working fine in UE 4.15.3
After looking at your video, I noticed your game has been created for mobile devices, which do not have hover events, because they’re finger is either on the screen, or off the screen.
If you do not want it to be mobile, then you have to create a new project and select Console/PC when creating it, otherwise, adjust your game around not using hover events.
Don’t forget, your cursor is only simulating the finger taps, nothing else. Even if you cursor can hover their finger can’t.
Cheers
This is because you are working for a mobile game, they do not have hover events.
So UE 4.15 there’s hover events for mouse on mobile project but in 4.16 there’s non hover events for mouse on mobile project.
I’m very very!!! appreciated it,That help me a lots,i’m waiting for epic stuff to confirm in this case thank you helping me.
Hello ,
You cannot use hover events for a mobile project
Cheers!