Attempting to increment the value of an array element does not seem to work, and instead returns the original value that was passed into the increment int node.
Found in 4.11.1 binary. Reproduced in 4.10.4 binary.
Regression?
No. This was also reproduced in 4.10.4.
1. Open the attached project
2. PIE
Result: The element that is being grabbed from the array is storing a value of 2. After passing through the increment int node, it is still printing out 2.
Expected: While this may not be expected to work because it is not expected to be able to pass an element of an array by reference (as far as I know), I would expect a warning message to appear in the compiler results box that would warn the user that this setup may not work.
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 4.10, 4.11, 4.12 |
Created | Apr 15, 2016 |
---|---|
Resolved | Aug 18, 2021 |
Updated | Aug 18, 2021 |