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."
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.
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 4.8.3, 4.9 |
Target Fix | 4.11 |
Fix Commit | 2683867 |
---|
Created | Aug 25, 2015 |
---|---|
Resolved | Sep 8, 2015 |
Updated | Apr 27, 2018 |