In blueprints, the GetOverlapInfos function can't really be used:

[Image Removed]

Another example:
Static Mesh Component -> Get Overlap Infos -> Length -> Set Integer Variable

The Get Overlap Infos node errors out with the following error: "Error The direction of Return Value doesn't match the direction of parameter ReturnValue"

It has to do with the const reference return variable being interpreted as an input in blueprints, but that doesn't make sense as it is the return variable of the function, so it could never possibly be an input.

Steps to Reproduce
  1. Create a Thirdperson Template Blueprint project
  2. Open the Thirdperson character blueprint and focus its event graph
  3. Create an "Event ActorBeginOverlap" node, drag off the Exec pin and create a "ForEachLoop" node
  4. Drag a reference of the Capsule Component into the event graph, drag off it and create a "Get Overlap Infos" node.
  5. Connect the Return Value pin to the Array pin on the "ForEachLoop" node.
  6. Compile the Blueprint.

[Image Removed]

Alternatively, Static Mesh Component -> Get Overlap Infos -> Length -> Set Integer Variable

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-28625 in the post.

Login to Vote

ComponentGameplay - Blueprint
Affects Versions4.104.11
Target Fix4.13
Fix Commit3080490
Main Commit3092051
Release Commit3080490
CreatedMar 22, 2016
ResolvedAug 8, 2016
UpdatedApr 27, 2018