Description

When attempting to replace a global float variable with a local float variable that is connected to a Timer node in a blueprint function, an error will appear after trying to compile.

This does not occur if you right-click on the variable and replace it that way, which is inconsistent behavior.

Found in 4.13.0 CL 3106830.

Reproduced in 4.12.5 CL 3039270.

Steps to Reproduce
  1. Open the editor
  2. Create two functions: Timer Function & Test Function
  3. In Timer Function, add a Set Timer by Function Name node
  4. For the Function Name, enter TestFunction
  5. For the Time pin, promote it to a variable
  6. Create a Local Float Variable
  7. Drag the Local Variable on top of the global to change the global to the local variable
  8. Compile

Result: Error appears:

Error The property associated with LocalTimeToCallFunc could not be found
Error Variable node K2Node_VariableGet_0 uses an invalid target. It may depend on a node that is not connected to the execution chain, and got purged.

Expected: The blueprint would compile without error.

Have Comments or More Details?

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

0
Login to Vote

Won't Fix
ComponentUE - Gameplay - Blueprint
Affects Versions4.124.13
CreatedSep 14, 2016
ResolvedAug 18, 2021
UpdatedAug 18, 2021
View Jira Issue