This is a regression //UE4/Release-4.27 has "DateTime - DateTime" and a "DateTime - TimeSpan" node.

The subtraction node, with wild card inputs, incorrectly assigns Time Span data type when fed a Date Time data type.

Tested in:
//UE4/Release-4.27 CL17735300 Live Binary
//UE5/Release-5.0-EarlyAccess CL16682836 Live Binary
//UE5/Release-5.0 CL18223527 Personal Perforce

Steps to Reproduce
  1. Open any project
  2. Create a blueprint actor
  3. Create a "Date Time" variable
  4. Crtl+Left-click drag the variable into the event graph
  5. Drag off the variable's output pin and search for and select Subtract
  6. Try to connect the output pin from the Date Time variable to the Subtract wild card input pin

Expected Results:
The wild card input pin correctly changes to Date Time data type and the connection completes.

Actual Results:
Connecting the Date Time data type to the input pin changes the wild card to Time Span data type and the connection fails.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-135466 in the post.

Login to Vote

ComponentUE - Gameplay - Blueprint
Affects Versions5.0-early access 25.0
Target Fix5.3
CreatedNov 18, 2021
ResolvedMar 17, 2023
UpdatedMay 10, 2023
View Jira Issue