[4.7.3] Engine crashes reproducible while playing

Yay, I get another crash. Before I closed and opened the project my game run fine, now it crashes reproducible while playing. 4.7 branch from yesterday.

So, same procedure as every crash.

Error is ‘WheatFarm_C_50’ is of class ‘WheatFarm_C’ however property ‘IntProperty_924’ belongs to class ‘TRASHCLASS_Building_782’

What does this Error even mean? I have the blueprint class “Building” which has some variables, and I have the blueprint class “WheatFarm” which uses “Building” as parent class. Of course many variables of “WheatFarm” “belong” to the Building class since they are inherited, but why is the building class a “Trashclass”? In the blueprint I guess I just cast an actor which is a WheatFarm to “Building” and want to access the int variable.

Callstack

Log

It actually never happened to me before that I had a reproducible thing to to in game to let the engine crash (I only use blueprints).

Maybe I had one default value in some struct which I forgot about and since in 4.7.3 all default values of structs are cleared this is causing an Error that was not there before, but I can’t really remember every single variable where possibly default values could be missing. Anyway, the Engine should give an Error and not crash,

Hi John,

Are you able to reproduce this in a blank project or just your project as it is now?

It’s most helpful to set something up in a blank project that shows it’s reproducible outside of your project. Once you have this please let me know your steps to reproduce this in blank project.

Something seems to be setup incorrectly in your BP for WheatFarm_C that is causing the assertion.

Thank you!

Tim