Increment and decrement nodes return the incorrect value
User Description:
Getting the result of the Increment Macro seems to be incrementing the variable twice. Very confusing. Is this normal?
1. Open QA-Game
2. Create a new actor class bp & open it
3. In the Event Graph, create the bp from screenshot #01
4. Default value for all variables is 0
5. Right-click all of the variables and watch the values
6. Compile & save
7. Place the bp into the level
8. In the bp's Details panel > Input > Set [Auto Receive Input] to 'Player 0'
9. PIE
10. With the bp's viewport in view, toggle through 1, 2, 3, & 4
Results: The increment/decrement return value doesn't match what the variable is being set to
Expected: For the increment/decrement nodes to return the exact same value as what the variable is set to by reference
NOTE: Screenshot #02 shows the macro as it is now and Screenshot #03 shows a change that fixes the issue
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 4.8, 4.9 |
Target Fix | 4.9 |
Fix Commit | 2597995 |
---|
Created | Jun 23, 2015 |
---|---|
Resolved | Jun 23, 2015 |
Updated | Apr 27, 2018 |