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"

Delay node never finishes

I have a very simple piece of logic in an AHud-derived blueprint (BP_RiverHUD), shown below: alt text

The OnWake event is bound as part of the BeginPlay, and is called occasionally (certainly not within the 3 seconds of the delay).

95% of the time, this behaves as expected. However 5% of the time the delay never returns: i.e. I get the "HUD OnWake" string printed to the screen but not the "HUD Delay Finished". And this breaks our game because the player no longer has a HUD to interact with.

There is definitely a lot going on in the delay elsewhere in the game (including saving the game, for example) and potentially even stuff in this blueprint. BUT, I find it completely perplexing that this delay should be failing in the way, and can't figure out what's going on.

I also can't find any particular repro steps. My testing has consisted of sleeping in the same location many times and once in a while this will happen.

EDIT: I have now been able to observe the faulty behavior while debugging: the delay node is triggered, a count appears above it and then abruptly disappears part of the way through.

Product Version: UE 4.7
Tags:
delay_bug.png (59.5 kB)
more ▼

asked Jul 10 '15 at 02:36 PM in Blueprint Scripting

avatar image

disla
92 5 9 14

avatar image 9robin3 Dec 16 '17 at 10:42 AM

I have the same problem, where nothing after the delay happens

avatar image 9robin3 Dec 16 '17 at 02:47 PM

For me the nodes after delay are skipped. Not always but most of the time... Delay problems has happened to me many times before in the engine. Why?

alt text

particles.png (427.5 kB)
avatar image Master Gebjeter Dec 16 '17 at 03:01 PM

You can only destroy a component inside that blueprint where it's added.

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

2 answers: sort voted first

I have the sam epoblem

more ▼

answered Dec 16 '17 at 10:41 AM

avatar image

9robin3
41 1 5 13

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

I am not sure what you doing before this function with delay are be called but you can simple recreate this situation (look picture) maybe this will help you :/

alt text

pic1.png (128.0 kB)
more ▼

answered Dec 16 '17 at 12:25 PM

avatar image

Master Gebjeter
138 5 8 15

avatar image Nachtmahr Dec 16 '17 at 12:35 PM

... you are aware that you Destroy the Object right? Expecting something to execute that you literally deleting out of existence makes no sense ;P

avatar image Master Gebjeter Dec 16 '17 at 12:40 PM

yes and maybe thats the problem of them

avatar image Nachtmahr Dec 16 '17 at 12:41 PM

In your case yes =)

(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