x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

[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.

Any ideas?

Product Version: UE 4.14
Tags:
more ▼

asked Jan 29 '17 at 08:43 PM in Bug Reports

avatar image

Willard720
313 16 25 55

avatar image Rudy Q ♦♦ STAFF Jan 30 '17 at 02:35 PM

Hello Willard720,

I have a few questions for you that will help narrow down what issue it is that you are experiencing.

Quick questions:

  1. Can you reproduce this issue in a clean project?

  2. If so, could you provide a detailed list of steps to reproduce this issue on our end?

  3. Could you provide screen shots of any blueprints/widgets/settings that may be involved?

avatar image Willard720 Jan 30 '17 at 09:40 PM

Hell Rudy.

Sometimes, the problem was caused by a hidden compile error that didn't stop the game from playing. In which case, fixing the error fixed the whole problem.

I'm not sure which could be involved, because cloning the widget class and using that instead works fine.

I had created a clean project and reimported the old assets, and blueprints with this bug still had it in the new project. Not sure if that counts as reproducing in a clean project.

I have a hunch it has something to do with this other bug I found. Of the three times I've had this bug, they had referenced structs. I think one time, the problem had gone away by reconnecting previously corrupted structs.

Its hard to keep track of it all, as a lot of my blueprints' names end in a 2 or 3 from cloning either because of the widget glitch or the struct glitch.

avatar image Rudy Q ♦♦ STAFF Jan 31 '17 at 08:13 PM

If you were able to reproduce this issue using the old assets in a new project, could you provided that simplified project so that I could take a closer look?

avatar image Willard720 Feb 03 '17 at 08:04 AM

Sorry this is taking so long. If I delete the wrong assets, I accidentally "fix" the problem (nearly half the project is missing) and that doesn't help solve it, so I have to keep cloning the project after every step, and other times, it ends up crashing everytime the editor opens, which means I have to go back to an older clone and redo the changes.

But I have found out that this glitch occurs in actor components as well, but with the actor components, you can't get rid of them by simply cloning and replacing references.

avatar image Rudy Q ♦♦ STAFF Feb 07 '17 at 06:01 PM

I just wanted to check in and see if you had made any progress on reproducing this issue? Please be sure to update the thread when you have more information and I will be happy to take a look.

avatar image Willard720 Feb 08 '17 at 05:03 PM

I had noticed sometimes it was caused by a bug in the blueprint that did not show up as a compile error. I have upgraded it to 4.15 Preview 3 and now the previously corrupted files are working fine, and I have not ran into the problem again, but I will try later today to recreate it again in the 4.14 versions.

avatar image Rudy Q ♦♦ STAFF Feb 10 '17 at 06:10 PM

Were you able to reproduce this issue in 4.14? If so, could you provide the steps needed to reproduce this issue on our end?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Hello Willard720,

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.

Thanks,

more ▼

answered Feb 14 '17 at 04:50 PM

avatar image

Rudy Q ♦♦ STAFF
47.4k 545 132 523

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

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.

more ▼

answered Jul 21 '17 at 01:44 PM

avatar image

Benni.Lodge
28 2 7 7

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question