Description

Collapse to Function creates a ReturnNode that cannot be deleted. When creating a new Function, the ReturnNode is not mandated like this, so this seems inconsistent.

Included is a screenshot of this causing a slight problem, with both the Set Speed node and the Completed exec on the ForEachLoop are both automatically connected to the ReturnNode.

Also occurs in Main: CL-2406189

Steps to Reproduce

1. Open any project
2. Open any Blueprint
3. Create a new variable of any type
4. Event Begin Play > Set the new variable
5. Right-click the Setter node > Collapse to Function
6. Open the new function
7. Select the ReturnNode
8. Delete

Results:
The ReturnNode cannot be removed, and must be connected to something to compile.

Have Comments or More Details?

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

0
Login to Vote

Cannot Reproduce
ComponentUE - Gameplay - Blueprint
Affects Versions4.74.8
CreatedJan 15, 2015
ResolvedJul 11, 2016
UpdatedJul 14, 2021