Description

When in a function in a Blueprint Function Library, dragging off a pin will not give the user the option to promote it to a local variable. You only have the option to make a global variable (which you cannot have in a library).

Right-clicking the pin gives you the local variable promotion option.

This seems to only occur in a function library. A function in a common class blueprint does not have this issue.

Steps to Reproduce
  1. Open any project in editor.
  2. Create and open a blueprint function library.
  3. In the function, add a Print String node.
  4. Drag off the In String pin.

RESULT

User has the option to promote to a variable, but not a local variable.

EXPECTED

To be able to promote to a local variable.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-94199 in the post.

1
Login to Vote

Fixed
ComponentUE - Gameplay - Blueprint Editor
Affects Versions4.244.25
Target Fix4.26
Fix Commit13668187
Main Commit13686746
CreatedJun 9, 2020
ResolvedJun 11, 2020
UpdatedJun 16, 2020