Description

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.

Steps to Reproduce

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.

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Won't Fix
ComponentUE - Gameplay - Blueprint
Affects Versions4.104.114.12
CreatedApr 15, 2016
ResolvedAug 18, 2021
UpdatedAug 18, 2021
View Jira Issue