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
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
The ReturnNode cannot be removed, and must be connected to something to compile.
Head over to the existing AnswerHub thread and let us know what's up.