Description

When attempting to add a custom component to a blueprint at runtime using the Add Component function, if you give the component an exposed variable, it will ignore whatever target you specify and add to the blueprint that the node is in instead.

Found in 4.9.2 binary. Reproduced in 4.10 Preview 3 and Main CL 2749677.

Steps to Reproduce

1. Open Test Project
2. Open TestSystem
3. PIE
4. Open the Correct Component and Wrong Component BPs

Result: In the debug dropdown, notice that the Correct Component is being added to Test Actor as expected, and that Wrong Component is being added to the Test System, even though Test Actor is the specified target.

Expected: The component would be added to Test Actor.

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Gameplay - Components
Affects Versions4.9.24.104.11
Target Fix4.11
Fix Commit2828641
Main Commit2839850
Release Commit2828641
CreatedNov 2, 2015
ResolvedJan 14, 2016
UpdatedApr 27, 2018
View Jira Issue