[4.6] UMG - Cannot interact with 3D Widgets

Hi guys.

I can’t seem to get this to work - I’ve got a 3D widget on my screen (a chat window) that I’m trying to get a focus on when I press a certain key.

At the moment, after the key event is triggered I do a cast to the widget, and call a custom event on the widget itself to set mode to UIOnly and set keyboard focus on the input box, but that doesn’t work, it simply won’t respond to any click events.

In addition to this issue, I tried to debug by adding a big ‘button’ that simply does a Print String “CLICKED” when clicked, and I can’t even click that. Or even hover over it. It’s like the thing simply doesn’t exist in any interactive form.

Any thoughts on this?

Did you try modifying Max Interaction Distance ?

I’m well within the 1000 interaction distance; the widget itself is on the Character Controller literally in front of the camera.

In 4.7, make sure the Pivot is 0.0 on both X and Y in the Actor’s Components where the Widget is place.

For me, in 4.6 interacting with widgets doesn’t work only with the ShooterGame character, try the FirstPerson template for example, that works for me.

This works for me using 4.8 source.

This works for me as well using UE4.7 Preview 5! Thanks.

Hi I am facing the same problem, did you get it to work?

What I did in 4.6 is create a new function getInput in the UMG Widget. This func receives 1 string input variable. Based on its input it manipulates the UMG widgets whichever way I want.
Then in MyCharacter I added some keyboard Events, called getUserWidgetObject, cast to my UMG and called my function with the pressed button data.
That’s how it looks like:

3D UMG Widgets would not accept key inputs. It’s perfectly ok to use buttons, sliders etc. but the keyboard deosn’t work.

Thank you really, i’ve been tweaking everything from Actor class to Trace options without getting it working, i then tried to export it to an older project and it worked, but back to te current, nothing… and that was this ! Thaaaaaanks

There goes 2 hours of my life I won’t get back…

many thanks! I spent the last hour trying to solve this until I saw your answer, but why when we change the pivot it does not work?

In 4.8 is the keyboard still unsupported for 3D UMG Widgets?