Incorrect types in blueprint structure default values

When creating a blueprint structure with a bool in it, you may set a free text default value, which crashes the whole editor and makes your project corrupted. Or maybe the crash occurred when pressing the checkbox in an instance of the same struct later on.

Default types are wrong, anyway.

I know it’s not an answer, but I don’t get that behaviour.
I set the default value of a bool ‘TheBadBool’ in a test Struct as EnEMeNeMineNeMo (not 0 or 1).
I compare it in the level blueprint to see if it compares equal with a bool variable that is defaulting to 0.
It compares true (which is odd). But there’s no crashing. I save, reload UE4, still no crashing.

Likewise, if I set the bool using MakeStruct and click the tickbox for ‘TheBadBool’ it also doesn’t crash or error.

Hi!

Okey, let me specify how I made it crash:
1 Create a BP structure with a bool field
2 Create an actor, that has a list of said structs. Populate the list with a struct
3 Set default value for the boolean to 1
4 Go to the details of your actor instance, and see that the checkbox for the bool has changed to some half transparent filling
5 Try to check the checkbox, editor crashed and my project got corrupted

Anyway, I suppose the main problem is that the default value panel is a text field, not a checkbox.

Hello,

Thank you for your report. We were not able to investigate this on the engine version you reported, but there have been many version changes to UE4 since this question was first posted. With a new version of the Engine comes new fixes and it is possible that this issue has changed or may no longer occur. Due to timetable of when this issue was first posted, we are marking this post as resolved for tracking purposes.

If you are still experiencing the issue you reported in the current engine version, then please respond to this message with additional information and we will investigate as soon as possible. If you are experiencing a similar, but different issue at this time, please submit a new report for it.

Thank you.