Developer Notes

Non-editable variables are reset to the value set in the Blueprint Defaults before each time the BP construction script is rerun.

Description

Variables not labeled as Editable will not update with a branch node inside of the construction script. Variables behave as expected when not connected to the branch node. This issue was tested with both boolean and Int values with the same results.

Regression:
This issue was reproduced in the 4.15.2 and 4.16 preview binary builds

Steps to Reproduce
  1. Create a new project (no template or starter content needed)
  2. Create a new Actor class Blueprint > Name it Actor_BP > Open Actor_BP
  3. Navigate to Actor_BP's construction script
  4. Create the blueprint in Screenshot_01 > Compile and Save the blueprint
  5. Add Actor_BP to the level
  6. Move Actor_BP around (Result)
  7. Change the Variable in The construction blueprint to be editable
  8. Move Actor_BP around in the level (Expected result)

Result: The variable does not update in value and prints false
Expected Result: The variable updates correctly and prints true

Have Comments or More Details?

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

4
Login to Vote

By Design
ComponentUE - Gameplay - Blueprint
Affects Versions4.15.24.16
CreatedMay 9, 2017
ResolvedMay 9, 2017
UpdatedMay 10, 2017