I noticed a problem with default values of variables in some of my blueprints.
I have a blueprint that inherits from Character called BP_GameChar. It has a lot of variables with default values. I have another blueprint called BP_PlayerChar that inherits from BP_GameChar. value of variables defined in BP_GameChar are reseted in BP_PlayerChar everytime I restart Editor.
This picture shows how values are 0 instead of default values.
There is another problem with default values of another blueprint that inherits from AIController. I has two Name variables with default values set. But when I run game they seem to don’t have any value. I had to set them in Constructor script for them to work:
Fresh news: In THIS TOPIC in accepted answer, user Dan.OConnor says that this bug has been fixed and will be included in 4.7.3, but link is giving me 404. Have you heard about thix fix too? If so, when can we expect 4.7.3 to appear? And why not 4.7.2?
That link goes to an Unreal Engine GitHub page, so you need to be signed into GitHub to see it. 4.7.2 is coming up too soon for fix to be implemented. There’s no official date for a 4.7.3 update, but if they go ahead with it, you probably won’t have long to wait.
I still have a similar bug in 4.7.3. I use structure blueprint to store integer arrays, then in child actor construction script i set parent array as one of structure file arrays right before parent construction script. It works fine in PIE, but in standalone preview array length = -1. And I also have circular dependency problem. I tryed to solve it to make everything linear but one of blueprints still decompiles when I compile mentioned parent blueprint.