Description

A variable with an actor reference that is owned by an actor component will lose it's reference if the actor that it is applied to is compiled. 

Steps to Reproduce
  1. Open the attached project
  2. Open Test level 
  3. Select the actor in the level 
  4. Scroll through the component list of the actor in the detail panel
  5. Select "TestActorComponent"
  6. The setting for the variable "Actor" will be set to "Broken snowman" by default
  7. Open "TestPawn" in the content browser
  8. Add a print string to the event graph 
  9. Compile 
  10. Select the actor in the level again
  11. Scroll through the component list of the actor in the detail panel
  12. Select "TestActorComponent"

 

Result: The reference for the actor variable will be lost (will be set to None)

Expected: The reference that was provided would remain the same after compilation

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

1
Login to Vote

Fixed
ComponentUE - Gameplay - Blueprint
Affects Versions4.18.2
Target Fix4.19
Fix Commit3819326
Main Commit3856245
Release Commit3819326
CreatedDec 19, 2017
ResolvedJan 2, 2018
UpdatedApr 27, 2018