We don't clearly define the behavior for a Blueprint function when an execution path without a return node is taken. We should either report an error, or have the function return the default initialization of the type (eg: false for bool, 0 for int, etc).
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-142399 in the post.
| 5 |
| Component | UE - Gameplay - Blueprint |
|---|---|
| Affects Versions | 4.27 |
| Created | Feb 11, 2022 |
|---|---|
| Updated | Sep 22, 2022 |