'Collapse To Function' causes crash if one of the nodes is a custom event

Just something I noticed today that might be an issue for newer users.

Easy to reproduce:
1- Create some nodes in a blueprint event graph.
2- Create a custom event.
3- Highlight all the nodes, including the custom event, and right-click > Collapse To Function.

Engine will crash. It’s probably better that it just handles this and collapses everything but the event maybe? This isn’t really a ‘bug’ as such, just a UX issue IMO.

Hey TheJamsh,

I’ve tried to reproduce this issue in a clean project, but I haven’t seen the crash occurring.

  • What nodes are you using exactly?
  • Are you naming your custom event, or leaving it as the default?
  • Is this in a Source or Binary version?
  • Could you provide a screenshot of the blueprint you are using before you use the Collapse To Function option?



I am marking this topic as resolved for tracking purposes, as we have not heard from you in a few days. If this issue persists, feel free to respond to this thread. For any new issues, please create a new Answerhub topic.

Have a great day