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"

Tick event not firing on UMG widgets after 4.20 upgrade

After upgrading my projects from 4.19 to 4.20 the tick event has stopped working completely on all of my UMG widgets that have a C++ parent class, which is pretty much all of them. I made a quick test widget without a C++ parent class and the tick event worked fine in it. I tried playing with the new "Tick Frequency" setting on the widgets and got nothing. I tried deleting and re-adding the tick event and got nothing. I tried overriding the tick event in C++ and threw in a debug print on it and got nothing from the native tick either. Ive done the old delete the intermediate folder, rebuild, blah blah. Other things in the widgets like construct event, button clicks, etc work fine.

Product Version: UE 4.20
Tags:
more ▼

asked Jul 20 '18 at 10:58 PM in Bug Reports

avatar image

Gilabite
106 5 2 9

avatar image Gilabite Jul 20 '18 at 11:46 PM

I made a new C++ UserWidget class and set the test widgets parent class to it, as soon as the you change the parent class and recompile the project the tick event stops working. Going to start digging through the engine code and see if I can figure whats changed, I suspect it has to do with the new "Tick Frequency" setting on the widgets.

avatar image Gilabite Jul 21 '18 at 03:48 AM

So if I dont override the NativeConstruct in the parent class the tick event works fine

avatar image Jeff A ♦♦ STAFF Jul 23 '18 at 07:21 PM

Hello,

We've recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

https://epicsupport.force.com/unrealengine/s/

Thanks

avatar image Gilabite Jul 24 '18 at 06:13 PM

Ok so of course right after I submitted the bug report I figured out what was wrong. Turns out Im stupid and there is nothing wrong with the tick event, I forgot to add the super into the NativeConstruct and there is a new function call in there that mine was missing since I forgot the super. So in short nothing to see here folks carry on and hopefully you can go in and kill the bug report I submitted, sorry :(

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

0 answers: sort voted first
Be the first one to answer this question
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