this issue no longer occurs in 4.16 Main CL 3275234
The Select node always calculates all inputs. Tested with a Bool case, as described in Repro Steps.
1. Open any project
2. Create a new Actor Blueprint
3. Add a select node
4. Change the Index to a Boolean
5. Add a divide node
6. Set the divide node to 1 / 0
7. Attach the Divide node to the False input
8. Set the True input to 1
9. Print the Return Value on Begin Play
10. Drop the BP into the level
11. PIE
Result:
A Divide by Zero warning appears in the log ("LogScript:Warning: Divide by zero: Divide_FloatFloat").
Expected:
The False input is not considered at all.
Head over to the existing Questions & Answers thread and let us know what's up.
16 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 4.8.3, 4.9, 4.10 |
Created | Aug 15, 2015 |
---|---|
Resolved | Apr 26, 2017 |
Updated | Jul 14, 2021 |