Crash in editor when adding a new BP user function w/ same name as code-defined function

I just ran into an interesting crash. I was editing a blueprint derived from a C++ class with the BlueprintCallable function InitiateToxicGasEmissions(). I later added a new user function, and accidentally gave it the exact same name. It ran into an ensure() when I did that; here’s the call stack and output.


I tried to reproduce this, and was only partially successful. I created a new code project using 4.4.1 and added a new Actor class with a BlueprintCallable function. I then created a Blueprint from the new Actor class and in the Graph tab I created a new function with the same name as the BlueprintCallable function I had created in the class code.

When I was debugging the project through Visual Studio, it triggered a breakpoint but I was able to continue. When I opened the project outside of Visual Studio, the project hung momentarily at this point but continued. In both cases, I just received an error message in the Editor stating that the function name had already been used (instead of seeing a crash).

Have you been able to reproduce this crash in a brand new project?

Nope, I haven’t. I could try to put something together but we’re crunching for a milestone right now so I’m not sure if I’ll be able to get to it anytime soon. Just wanted to give you guys a heads-up on this … it’s definitely not getting in our way or anything like that.

Hey Mothership.Entertainment,

We appreciate the report, but without the ability to fully reproduce the issue, our report will be incomplete. For now, I’ll mark this issue Resolved, but if you have any more insight into the bug, please let us know.