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"

4.7p4 Compare Float debugging wires question/bug?

It sure seems like this is a bug, but perhaps I just don't quite understand something in the debugger. My experience has been each wire turns orange and animates when it's currently active. I see no reason that all three output wires from a Compare Float node would ever have more than one turn orange at the same time. Confused...

alt text

Product Version: Not Selected
Tags:
compare_float.png (661.1 kB)
more ▼

asked Jan 23 '15 at 05:12 PM in Blueprint Scripting

avatar image

Furroy
696 26 86 62

avatar image TJ V ♦♦ STAFF Jan 23 '15 at 07:05 PM

Hi Furroy,

You're correct, only one of those wires should be active at a time. I just tested this is the 4.7 Preview 4, but I could get your results. How are you getting the values that are going into the function and how often are you calling the function?

avatar image Furroy Jan 23 '15 at 07:43 PM

It's inside a loop called 24 times. All 3 cases are active at one point or another through the loop. It's as when it reenters the function it isn't clearing the previous path(s). BTW, I'm pretty sure this started with preview 3 I just hadn't gotten around to reporting this issue.

Yea, actually I just checked with this simple case and each time you step through the function and come out of the compare float macro another wire is lit up and the old one was not cleared out.

alt text

compare_float2.png (58.1 kB)
avatar image TJ V ♦♦ STAFF Jan 23 '15 at 08:18 PM

Would you mind sending me the .uasset by private message on the Forums?

https://forums.unrealengine.com/

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

1 answer: sort voted first

Okay, if you add some Delay nodes in between each of the 'Calc Tilt from Height' functions, you can see that they are firing separately. Without the delay nodes it looks like they fire at the same time because the debug visualizations can't show the process when it's firing that quickly.

alt text

more ▼

answered Jan 23 '15 at 09:49 PM

avatar image

TJ V ♦♦ STAFF
41k 1009 183 494

avatar image Furroy Jan 23 '15 at 09:59 PM

Just seems like if you press run and hit a breakpoint, press Resume, and hit another breakpoint, it shouldn't still have any active wires from prior to the first breakpoint.

avatar image TJ V ♦♦ STAFF Jan 26 '15 at 03:46 PM

This is intended during debug mode. It's because all 3 calls to the function are happening within the same execution. If they had separate executions you wouldn't see all 3 wires lit up at the same time.

(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