If a local variable set variable is copied/pasted over to a second blueprint and the input pin is promoted to a local variable, compiling the blueprint will cause a compile error to appear until the set node is deleted and recreated from the new local variable.
Workaround:
Create a local variable with the same variable name before copying the set node over.
1. Open Editor (any project)
2. Create 2 actor blueprints
3. Open first actor blueprint
4. Create a new custom function
5. In custom function, create a local variable (any)
6. Create a Set node for the new local variable
7. Copy the local variable set node
8. Compile, open second blueprint
9. Create new custom function in second blueprint
10. Paste local variable set node
11. RMB input boolean node>Promote to local variable
12. Press compile
Results:
Compile error occurs:
"The property associated with <variable name> could not be found"
Expected:
Blueprint compiles.
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 4.9.1 |
Target Fix | 4.11 |
Fix Commit | 2714576 |
---|
Created | Sep 30, 2015 |
---|---|
Resolved | Oct 2, 2015 |
Updated | Apr 27, 2018 |