[4.7.3] Engine crashes on compile of one blueprint caused by FDateTime

Engine is crashing on compile of my GameState blueprint. I just open my project, open my blueprint which is called BP_Data and click on compile and engine crashes.

Callstack

Log

As far as I can read callstack it seems to be an issue with FDateTime and it’s GetYear() function.

I have one variable of Type DateTime inside blueprint, but it’s never used. I remember another bug that’s it not possible to change default value of DateTime variables without a crash. If I delete variable or change type to something different it does not crash on compile.

Hi John,

This was reported here:

DateTime variables cause a crash on compile of Blueprint, even if variable is not in use. This has been fixed internally, and fix should be included in 4.8 release.

Oh thanks, nice to hear it’s already fixed :slight_smile: But why will it not be inside 4.7.4?

We’re not 100% sure there will be a 4.7.4 yet, as far as I know, but I’ll see if they’ll consider it for inclusion if they do.

I just heard back, and it sounds like they’ll be able to include it in 4.7.4 if it’s released.

Thanks! This issue is actually not very critical for me since I don’t really need DateTime variable. But for others who may need it a lot that’s great!
For me most important thing which need to be fixed in 4.7.4 is this since it really doesn’t let me play my game without very weird behavior of everything.

TJ is looking into that one. If we can figure out why it’s not working for you, we’ll request fix get added to a hotfix as well if at all possible.