If you create multiple custom events with multiple arguments that have identical names, eventually the compiler gets confused and will stop compiling your blueprint.
Steps to repro:
Create a new BP, subclass of Actor.
In Event Graph, right click and add two custom events.
Edit each event and give them at least two arguments. Rename the arguments so both events have the same argument names.
It doesn’t always happen right away, but if you rename the args on each event a few times, eventually it will break and stop compiling your BP.