Developer Notes

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.

Description

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.

Steps to Reproduce

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.

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 - Blueprint
Affects Versions4.9.24.104.11
Target Fix4.11
Fix Commit2781517
Main Commit2884111
CreatedNov 9, 2015
ResolvedNov 26, 2015
UpdatedApr 27, 2018
View Jira Issue