UMG - Conflicting with virtual joystick
So here's the deal. I have a HUD made with UMG, I've figured out that UMG is the cause my visual joystick doesn't appear. How do I solve this?
Basically when I press the pause button on my screen, that is part of my UMG HUD, the virtual joystick disappears, same when I press resume.
(also tested on version 4.10.0, same thing)
asked Nov 22 '15 at 12:37 PM in Blueprint Scripting
I have the same problem, can't check my code right now but just to keep this post up to date for others that are searching for the same here's the answer that solved this case as answered by eXi:
Hm ok, i would say you get rid of the "Remove All Widgets". Because it may also kill the Joystick. To remove a specific widget, call "Remove from Parent" on it.
Also i would recommend spawning the Widgets in a Class that you can always access (For example GameState, PlayerState, PlayerController, etc.) and save the return value as a reference. Then you can remove them if you want to open the menu.
But first, try to remove "Remove All Widgets" and check if the Joystick thing survives.
answered Feb 22 '16 at 02:05 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here