Description

If a local variable is present within an event graph and then copied in a collapsed node, the copied variables will have a warning:

"Unable to find local variable with name 'NewLocalVar_0' for Get NewLocalVar_0, scope expected: NewFunction_0, scope found: CollapseGraph_0."

Steps to Reproduce

1. Open Editor (any project)
2. Create new blueprint
3. In event graph, create a local variable
4. Create a print string node that is printing the value of the local variable
5. Select all nodes>Collapse nodes
6. In collapsed nodes>copy/paste nodes
7. Press compile

Results:

Warning appears in output log, all pasted nodes show warning label.

Expected:

Graph compiles without any warnings or errors.

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Fixed
ComponentUE - Gameplay - Blueprint
Affects Versions4.8.34.9
Target Fix4.11
Fix Commit2683867
CreatedAug 25, 2015
ResolvedSep 8, 2015
UpdatedApr 27, 2018
View Jira Issue