Description

The "OtherActor" pointer in an FComponentReference is invalidated when the referenced actor is reinstanced after compilation.

Steps to Reproduce
  • Create two actor Blueprints BP_Referencer and BP_Target.
  • Add a component to BP_Target using the Blueprint Editor.
  • Add an FComponentReference property to BP_Referencer and make it public.
  • Drag an instance of each Blueprint into the level.
  • Set the FcomponentReference property in the BP_Referencer instance to point at a component in the BP_Target instance.
  • Compile BP_Target and note the the "OtherActor" object pointer in BP_Referencer is set to None.

Have Comments or More Details?

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

0
Login to Vote

Unresolved
ComponentUE - Gameplay
Affects Versions5.2
Target Fix5.5
CreatedMay 15, 2023
UpdatedApr 2, 2024