Int fields in structs not working

I’ve created a custom blueprint structure. Every time I try to add and integer variable to it I get errors and it doesn’t compile.


As far as I can tell it has issue with default value but I haven’t touched those. I’ve had it complain that it’s set as a bool, float or string. Erasing the variable and adding a new one doesn’t fix this - it seems to be always like that. Am I doing something wrong?

I don’t know what that little no-entry sign is for, but I think you’ll find the structure works fine…

I take that back. It doesn’t work eh? What!? :slight_smile:

Hmmm… I removed the int field, and re-added it - then it’s ok. You can also change the order, that might help.

Yeah, it doesn’t work, the engine doesn’t recognise it’s there. I think that due to this error it’s not comipiling and that’s why.
In my case re-adding the field doesn’t solve it. But reordering did work. Thanks!

1 Like