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.
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.
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Gameplay - Components |
---|---|
Affects Versions | 4.9.2, 4.10, 4.11 |
Target Fix | 4.11 |
Created | Nov 2, 2015 |
---|---|
Resolved | Jan 14, 2016 |
Updated | Apr 27, 2018 |