Description

Blueprint functions appear to correctly associate local variables when renaming the function. However when undoing a rename with ctrl-z the local variables appear to lose their association. Redoing after undoing appears to fix the issue.

This was reported and testing in 4.24.3 (CL-11590370). This was reproduced in 4.25.3 (CL-13942748), and 4.26 Preview 2 (CL-14419252)
 

Steps to Reproduce
  1. Open the UE4 Editor and create a Blank project
  2. Create an Actor Blueprint
  3. Create a function
  4. Create a local variable
  5. Add a setter of the local variable to the function graph and connect the two
  6. Compile and save, then change the function name
  7. Ctrl-Z to undo function name, then compile and save

Results: Warnings will appear for each instance of the local variables use in the graph.

Expected: successfully compile.

Have Comments or More Details?

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

2
Login to Vote

Won't Fix
ComponentUE - Gameplay
Affects Versions4.24.34.25.34.26
CreatedOct 8, 2020
ResolvedJul 19, 2022
UpdatedJul 19, 2022