Problem with default values of variables being reseted
I posted a coment on this bug here: https://answers.unrealengine.com/questions/179108/problem-with-default-values-of-variables-being-res.html but noone answeres, so i'l try to wright it as a question:
"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."
That test project allowed me to narrow down the issue. This is actually a known bug that has been fixed internally. Unfortunately it didn't quite make the 4.7.4 hotfix build but you should see it by the 4.8 release.
I don't exactly have a workaround for you but it's has to do with getting a value from an Array that is contained within a Struct. Using this method always returns 0 in Standalone mode. However, this error isn't present in a packaged project so you should be fine to continue developing with this method in place.
answered Apr 02 '15 at 08:18 PM
TJ V ♦♦ STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here