Description

Geometry Collection Actors do not respond with the appropriate Actor nor Component for OnComponentHit events. Upon placing a breakpoint after following the steps to reproduce, you can see that the Other Actor nor Other Comp have valid data inside.

Repro Rate: 3/3

Tested this in //UE5/Release-5.0-EarlyAccess @ CL#16682836 and was able to cast successfully and get the appropriate data for Other Actor & Other Comp, it is a regression.

Steps to Reproduce
  1. Create a new Third Person BP project
  2. Place a Cube into the scene ensuring it's not clipping into anything
  3. Switch to Fracture mode and create a new Geometry Collection Asset for the Cube
  4. In the Content Browser, search and open PA_Mannequin
  5. Select everything in the Skeleton Tree (Ctrl + A)
  6. In Details, enable "Simulation Generates Hit Events" under Collision
  7. Save & Close the Physics Asset
  8. In the Content Browser, search and open BP_ThirdPersonCharacter
  9. Select the Mesh component
  10. In Details, enable "Simulation Generates Hit Events" and set "Collision Presets" to BlockAll under Collision
  11. With the component still selected, right-click on empty space in the Event Graph
  12. Add an 'OnComponentHit' node for the Mesh component
  13. Drag out from 'Other Actor' and place a "Cast To GeometryCollectionActor" node
  14. Print a string out for whether or not the cast failed
  15. Compile & Save
  16. Play in Editor and run into the Cube

Results: Casting to the Geometry Collection Actor fails and no information can be obtained from the Other Actor.
Expected: Casting succeeds and information can be obtained from the Other Actor

Have Comments or More Details?

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

2
Login to Vote

Unresolved
ComponentUE - Simulation - Physics - Solver
Affects Versions5.0
Target Fix5.1
CreatedApr 22, 2022
UpdatedApr 25, 2022