If a variable in a blueprint is the same name as a referenced variable from another blueprint, using "find references" on the local variable will return references to both the local and the external variable.
1. Open Editor (any project)
2. Create two blueprints, name 1 and 2
3. In both 1 and 2, create a boolean variable named test, compile
4. In blueprint 2, create a reference to boolean test
5. Create a "get all actors of class" node, set class to blueprint 1
6. Drag off of array output pin and create a for each loop
7. From element output pin, create reference to test from blueprint 1
8. compile, right click test variable in my blueprint pane, select "find references"
Results:
Find references grabs a reference for both variables named "test" instead of just the local variable that was selected in the My Blueprint tab.
Expected:
Find References gets references to the variable in the my blueprints tab, not the external reference from blueprint 1.
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 |
Created | Aug 14, 2015 |
---|---|
Resolved | Apr 15, 2016 |
Updated | Jul 14, 2021 |