Version:
4.11.0-2822657
Operating System:
Windows 7 Home Premium 64-bit
Description:
If a blueprint fails to compile, it causes that blueprint’s defaults to reset. This does not effect inherited defaults.
Steps to Repro:
- Create a new project using 4.11.0-2822657.
- Create a new actor blueprint.
- Create a new variable and compile blueprint.
- Set variable default to something other than engine default. E.g. for an int, anything but 0.
- Use any method that will result in a failure to compile; E.g. Add a Creating Widget node, leave class blank.
- Compile blueprint.
Result:
Variable will show it’s default value; E.g For an int, 0.
I first noticed this with a character class, I had changed the base movement speed to 300, but noticed that it seemed to keep resting to 600. While working on another blueprint I noticed it seemed to happen whenever the BP failed a compile.