Blueprint variables reset to zero

Hi!

I’ve given default values to variables in my blueprint in class defaults, but whenever I restart editor, variables are reset to zero. editor remembers defaults and they can be switched, but it is rather annoying to do this to many blueprints every time I start editor.

Here’s a picture:

33643-variablesreset.png

Variables “speed” and “rate” are supposed to be 0.06 and 1 by default. However, they are reset to zero.

I managed to work past this by setting speed and rate on construction script of parent class (it doesn’t change values in child’s blueprint of course, but at least makes them work in game). I figured it was worth reporting though. :slight_smile:

Hi rokesy,

I wasn’t able to reproduce this in a new Actor Blueprint, nor in a child of that BP. Are you only seeing this in child Blueprints? Does it happen in a new project as well, or only your current project? Can you give me step-by-step instructions to reproduce this in a new project?

If those variables are in a super (parent) class then this thread covers state of this bug. Short answer is it will be fixed in 4.7.3.