# Widget button not working most of the time

**URL:** <https://forums.unrealengine.com/t/widget-button-not-working-most-of-the-time/651481>\
**Category:** XR Development\
**Tags:** unreal-engine, UE5-0, question\
**Created:** [September 19, 2022, 3:50am UTC](https://forums.unrealengine.com/t/widget-button-not-working-most-of-the-time/651481 "2022-09-19T03:50:23Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [September 20, 2022, 7:53am UTC](https://forums.unrealengine.com/t/widget-button-not-working-most-of-the-time/651481/2 "2022-09-20T07:53:01Z")

</div>

Hey there @laylayover! Are the on hover events firing inconsistently or just the onclick events? You mentioned the UI was finicky about receiving the hover, could there be any other object obscuring the trace?

Try popping some breakpoints and print statements on each step to see exactly when it’s failing and how, it’ll likely point in the correct direction.

In reference to the error and crashing you receive, that’s more of a separate graphical issue. This could be a TDR issue or more, since you’re working in VR you’ve got lots more overhead than standard projects, and working from a laptop likely compounds this. I’ve got a couple of bandaid fixes over here on a separate post:

> [@GPU crashed or D3D device removed error](https://forums.unrealengine.com/t/gpu-crashed-or-d3d-device-removed-error/649717/2):
>
> Hey there @Sneezyceiling87! Welcome to the community! So this error is somewhat generic and can be caused by a myriad of things. I’ll drop you a couple of resources with some possible solutions, and let me know if any of them work. If it’s not to much to ask I’d also like to know your specs for my notes on this issue. So starting with official documentation. It mostly goes over TDR being the problem, which may or may not be it for you. WARNING THIS GUIDE EDITS THE REGISTRY: BE CAREFUL IN THE R…

---

_[View the full topic](https://forums.unrealengine.com/t/widget-button-not-working-most-of-the-time/651481)._
