A Spline component that is altered in the construction script cannot be referenced by the Event Graph.
1. Open QA-Game
2. Create an actor class bp & open it
3. Add a Spline component
4. Add a Variable type vector named 'StartLocation'
5. In the Construction Script, create the bp in screenshot #01
6. Select the Viewport tab & select the Spline component
7. See the 10 spline points displaying correctly
8. In the Event Graph, create the bp in screenshot #03
9. Compile & save
10. In the editor, place the bp into the level
11. In the Details panel > Input > Auto Receive Input > set it to 'Player 0'
12. PIE
13. Press R to print the number of spline points
Results: The spline points will register as the default number of 2
Expected: For the spline points to register as the actual number of points that are in the spline component
Why does the REMOVE method of map container remove elements have memory leaks?
How do I set a material as a post-processing material?
How to delete some elements correctly when deleting an array loop?
What controls of umg have mouse wheel events in UE4.27?
Why does the volume fog disappear from a distant view?
How to achieve HLSL Multiple Render Target in Material blueprints?
Head over to the existing Questions & Answers thread and let us know what's up.
1 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 4.7.6, 4.8 |
Created | Apr 21, 2015 |
---|---|
Resolved | Feb 7, 2017 |
Updated | Jul 14, 2021 |