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"

Blueprint Function Library Bug: Connecting function inputs resets default input values

Hi,

I noticed following issue:

  1. Create a Blueprint Function Library

  2. Add a new function to that library (in my example "MyFunction")

  3. Create 2 inputs for that function (in my example 2 floats; one named "FloatWithDefault" and the other "FloatWhithDefaultConnected")

  4. Setup Default values for both inputs (in my example 1)

  5. Connect the input of "FloatWithDefaultConnected" to another node that has a float input (in my example "RandomFloatInRange" but it doesn't matter which one you choose). Leave "FloatWithDefault" unconnected.

  6. Compile and save the function library

  7. Open another Blueprint (like the Level Blueprint) and call your function from the library

  8. You will notice that the default value of the "FloatWithDefault" is still 1 while "FloatWithDefaultConnected" has turned to 0

Expected behavior: Both default values should keep their default settings.

Product Version: UE 4.15
Tags:
more ▼

asked Mar 15 '17 at 11:01 AM in Bug Reports

avatar image

polygon
71 7 15 23

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

1 answer: sort voted first

Hey polygon,

I have reproduced your issue and have entered a bug report which you can track using the link below:

https://issues.unrealengine.com/issue/UE-42922

Have a great day

more ▼

answered Mar 15 '17 at 02:07 PM

avatar image

Sean L ♦♦ STAFF
43.5k 485 152 442

(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