Description

Looking at the T3D snippet of the get variable node, the VariableReference points to the local variable of the original function instead of the new one. 

Steps to Reproduce
  1. Create a blueprint
  2. Create a function inside BP
  3. Add local variable(s) to BP and reference them inside the function
  4. Duplicate the function (CTRL+D)
  5. Delete the original function
  6. Compile

Current: a warning will display that the local variable could not be found
Expected: no warnings

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-169783 in the post.

0
Login to Vote

Unresolved
ComponentUE - Gameplay - Blueprint Compiler
Affects Versions5.1
Target Fix5.3
CreatedNov 10, 2022
UpdatedApr 10, 2023
Pull Requests
10339