Description

Using "Replace variable with..." does not mark a blueprint as needing compilation.

Reproduced in 4.9.2 binary, 4.10.1 binary, and Main 4.12 (CL 2813214). This is not a regression; the same bug appears in 4.9.2 (reported in 4.10.1).

Steps to Reproduce

1. Open any project
2. Create a new Actor Blueprint
3. Drop the Actor Blueprint into the level
4. Add two Float variables with default value 0.0, Var1 and Var2
5. Begin Play > Set Var1 (12.0) > Print String (Var2>string)
6. Right click the Set Var1 > Replace Var1 variable with Var2
7. DO NOT COMPILE
8. PIE

Result:
The BP is not marked as needing compilation after Replace variable with, and the Print String prints 0.0 (Var1)

Expected:
The BP requires compilation, after which Print String prints 12.0

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Gameplay - Blueprint
Affects Versions4.10.14.12
Target Fix4.12
Fix Commit2843917
Main Commit2865780
CreatedJan 4, 2016
ResolvedJan 26, 2016
UpdatedApr 27, 2018
View Jira Issue