Description

If a user creates a variable and sets it to a value that is not the default and then gets an error that prevents the blueprint from compiling, this will cause the variable to be reset to it's default value.

Steps to Reproduce
  1. Open the editor
  2. Create a new blueprint
  3. Add a new float value
  4. Compile
  5. Set the Float value's default to 100
  6. Compile and save
  7. Drag off begin play and add create widget (do not give a class)
  8. Notice that when an error is thrown (expected) that the float variable is now set to 0

Expected: The error would not reset the float variable back to 0
Result: The variable's default value it reset to 0 when an unrelated error is thrown

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Gameplay - Blueprint
Affects Versions4.11
Target Fix4.11
Fix Commit2833093
Main Commit2839850
Release Commit2833093
CreatedJan 18, 2016
ResolvedJan 18, 2016
UpdatedApr 27, 2018
View Jira Issue