Blueprint struct variable, error on recompile
I'm having an incredibly time consuming and frustrating issue which using C++ declared (but Blueprint Type marked) structs in blueprint. My struct looks like this:
The issue I'm having is that whenever I make any edit in the C++ script this struct is delcared in (either to the struct itself or the class in the same .h file) and then recompile (this is using compile from editor, so a hot reload in case that matters), every struct I have as a blueprint variable errors with the message "The variable variableX in blueprintY has an invalid type Array of Structures" (In this case it's an array, but the same happens for single struct variables.) Meaning I have to completely redeclare the variable and remake any links or functions it was being used in.
asked Nov 10 '15 at 04:14 PM in Blueprint Scripting
This issue seems to have been fixed by subsequent builds, I'm now on 4.11
answered May 02 '16 at 12:12 PM
I'm not using cpp with my project but there is a similar error you get when modifying structures or array structures in blueprints.
First I'd like to confirm that you're not trying to use an array structure within an array -- the engine seems to have a ton of issues with this.
Moving on: If you make a change to your structure or have try going into every blueprint that uses the structure and save/compile. May fix your issue, here's to hoping.
answered Nov 10 '15 at 05:22 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here