[Bug] Widget events not firing in Standalone
I am testing my mobile game in mobile preview, and my main widget doesn't create in the preview, but it works fine in the normal play mode.
A more accurate description is that nothing on the spawned widget is firing. I have followed the debug paths from the moment it is created, which takes me inside its event construct, goes to all of the nodes, even debugging print nodes, so the game is going over them, but none are firing. The same is true for calling a function in it.
But, playing it in the normal viewport and everything works fine. It does what its supposed to, fires all of the print nodes. And, if I do a mobile preview but switch the widget to another, the new widget is constructed perfectly fine. It is only with this one widget in the mobile preview where it doesn't fire any nodes.
I was able to fix this one widget by using a copy of it instead, but now I'm getting the same glitch with another widget. I can't go around cloning my widgets indefinitely so there must be a better workaround.
We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will follow up.
answered Feb 14 '17 at 04:50 PM
Rudy Q ♦♦ STAFF
I had a similar bug. Seemingly caused by an invisible compile error. I'd duplicated my widget from a pre existing one and was seeing no response to the construct event. I just remade it and the problem was solved. Drove me crazy for a couple of hours though.
Try recreating the widget from the ground up.
answered Jul 21 '17 at 01:44 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here