Description

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.

Steps to Reproduce

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.

Have Comments or More Details?

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

0
Login to Vote

Cannot Reproduce
ComponentUE - Gameplay - Blueprint
Affects Versions4.8.34.9
CreatedAug 14, 2015
ResolvedApr 15, 2016
UpdatedJul 14, 2021
View Jira Issue