Have attached examples of this in action, including breakpoints showing the FDateTime::Ticks count as zero. Also showed that this is an issue for the existing GetYear/GetMonth/GetDay methods (and any method that has a FDateTime param).
The MakeDateTime methods work perfectly fine as a workaround for inline definitions.
Have tested in 4.26 preview 6 and also 4.25.3 (both from launcher).
DateTime:
Attached is an example where the year is defined as 2020, but the resulting year is 1; attaching debugger also shows FDateTime::Ticks value as 0.
Timespan:
Attached is an example where the days is defined as 10, 12 as hours, 9 as minutes, and the result is 0.0:0:0. Same issue as before, FTimespan::Ticks value is 0.
How does TextureRenderTarget2D get TArray<uint8> type data?
How do I set a material as a post-processing material?
How to delete some elements correctly when deleting an array loop?
Why does the REMOVE method of map container remove elements have memory leaks?
What is the cause of the packaging error falling back to 'GameUserSettings' in ue5?
UMG RichText not appear image when packaged
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-102656 in the post.
3 |
Component | UE - Gameplay - Blueprint Runtime |
---|---|
Affects Versions | 4.25, 4.26 |
Created | Nov 6, 2020 |
---|---|
Resolved | Jul 19, 2022 |
Updated | Jul 19, 2022 |