Developer Notes

this issue no longer occurs in 4.16 Main CL 3275234

Description

The Select node always calculates all inputs. Tested with a Bool case, as described in Repro Steps.

Steps to Reproduce

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.

Have Comments or More Details?

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

16
Login to Vote

Won't Fix
ComponentUE - Gameplay - Blueprint
Affects Versions4.8.34.94.10
CreatedAug 15, 2015
ResolvedApr 26, 2017
UpdatedJul 14, 2021