Download

Widget Woes

Widgets do not support gamepad input, so I made a pretty little blueprint inside the widget that detects input via “Get Actors of Class”. By referencing variables in my HUD, selector boxes, sliders, etc can be controlled using the gamepad. Yay! Works flawlessly EXCEPT when I package my game. I narrowed it down to the “Event Tick” that causes my game to crash. Without it, however, nothing can be triggered (since the widget can not detect gamepads, the event tick runs to all my variables all the time and is controlled with branches). I figured I could make a custom event but when I try to use it, it never works. I’m probably not making any sense but I’ll attach some pictures in hopes that would clear it up.

251fb6149a861b0dfa4d698a4d9393a32d5f49eb.png

OK, so you are doing this in another BP, not within the HUD itself?

Have you tried a function instead of a Custom Event?

Narg

I got it to work…kinda. Here’s the character blueprint

54f73ca57cb0cad18755b4b67207f0a72ccf1c69.png

This works in Standalone and in ViewPort but not when I package the game or Launch.

Here’s the widget blueprint

9860121b71392b17051763874a342955291d7adf.png

Should I move the d-pad controls inside the HUD blueprint?