Attempting to get the owner of an Actor Component that contains an exposed variable will return the Spawner blueprint's display name instead of the Spawned Actor it is added to.

Found in 4.10.2 binary. Reproduced in Main CL 2822521

This is a regression. Could not reproduce in 4.9.2 binary.

Steps to Reproduce

1. Open the editor
2. Create a new actor class called Spawner
3. Create two actor component blueprints, one called Working Actor, one called Broken Actor
4. In Broken Actor, add an integer variable that is public and exposed on spawn.
5. Open the Spawner blueprint, and recreate the setup in the attached image.
6. Place an instance of the Spawner bp into the level
7. PIE

Result: The actor component without the expose on spawn variable prints the correct owner, which should be the spawned Actor. The actor with the exposed on spawn variable returns the Spawner blueprint as its owner, instead of the Actor blueprint that is spawned.

Expected: Both of the components would return Actor as their owner instead of Spawner.

Have Comments or More Details?

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

Login to Vote

ComponentUE - Gameplay - Components
Affects Versions4.104.12
Target Fix4.11
Fix Commit2828641
Main Commit2839850
CreatedJan 12, 2016
ResolvedJan 15, 2016
UpdatedApr 27, 2018