Child Actor Components run their construction scripts upon parent's placement in level. However, these specifications are not maintained once PIE is initiated.
1. Open Editor (any project)
2. Create new actor blueprint (name testchild)
3. In new actor blueprint, create Point Light Components
4. In construction script, set point light light color to new color (blue used for test)
5. Compile
6. Create new actor blueprint
7. Add Child Actor component to new blueprint>change class to testchild
8. Compile
9. Place a copy of new actor blueprint into level, note light is new color
10. Press PIE
Results:
Point light color is set to default value
Expected:
Point light color is set to new color.
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 4.11 |
Target Fix | 4.11 |
Created | Jan 14, 2016 |
---|---|
Resolved | Feb 10, 2016 |
Updated | Apr 27, 2018 |