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.

5
Login to Vote

Fixed
ComponentUE - Gameplay
Affects Versions5.2.15.15.25.3
Target Fix5.5
Fix Commit34375771
CreatedMay 15, 2023
ResolvedJun 14, 2024
UpdatedJul 17, 2024
View Jira Issue