The repro utilizing integer removal from an Array works as expected. Remove will remove ALL items of a given value, not just a single instance.
The user's issue with FTimerHandle was a problem, however, because the identifying markers inside the structure should have prevented any others from being removed. Nothing was marked as a UPROPERTY on the struct to be compared.
Getting an object from an array at a certain index and then using the Remove Item node causes the entire array to be wiped.
Found in 4.10 Preview 4. Reproduced in 4.9.2 binary and Main CL 2752291.
1. Open the attached project
2. Open TestMap
3. PIE
Result: Getting the array item at index zero and using the remove item node wipes the entire array clean.
Expected: Remove Item would only remove the item at the index indicated in the Get node.
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 4.9.2, 4.10, 4.11 |
Target Fix | 4.11 |
Fix Commit | 2781517 |
---|---|
Main Commit | 2884111 |
Created | Nov 9, 2015 |
---|---|
Resolved | Nov 26, 2015 |
Updated | Apr 27, 2018 |