Description

Vector addition wildcard does not cast from integer to float (double-precision) when split apart vector pin is utilized. You can also utilize a Vector2D to get the same results.

Repro Rate: 3/3

Tested this in //UE5/Release-5.0-EarlyAccess @ CL#16682836 and the issue occurred there, it is not a regression.

Steps to Reproduce
  1. Create a new Blank BP project
  2. Create & open a new Blueprint
  3. Add a variable with the type of Vector
  4. Drag a reference of the Vector into the Event Graph
  5. From the reference, place an Operators > Add node
  6. Split the input of the vector on the 'Add' node
  7. Add a variable with the type of Integer
  8. Drag a reference of the Integer into the event graph
  9. Connect it to any of the float inputs on the addition node
  10. From "Begin Play" place a 'Print String' node
  11. Hook up the output of the addition to the 'Print String' node.
  12. Compile the Blueprint

Results: Conversion error occurs, "failed building connection with 'Convert Integer to Float (double-precision)' at vector + vector"
Expected: When the integer is connected to the wildcard, it places a conversion node down or converts appropriately as it does when adding a Float (double-precession) and Integer together.

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Gameplay - Blueprint
Affects Versions5.0
Target Fix5.2
Fix Commit23313828
Main Commit23313828
CreatedMay 13, 2022
ResolvedNov 29, 2022
UpdatedFeb 4, 2023