Custom event broken when the project is reloaded if parameter names don't match the connected event dispatcher

Hello,

I’ve come across a problem where a custom event bound to an event dispatcher that passes a parameter will be broken when the project is loaded if the parameter of the dispatcher and the custom event don’t have the same name.

When first created the blueprint will compile and run without problem, only when you save an re-load the will the error occur.

It seems like it’s renaming the parameter on the custom event to match the event dispatcher when you load the project.

Reproduction steps:

  1. Make a new blueprint
  2. In the blueprint create a new event dispatcher and add an input parameter
  3. Create a new custom event and add an input parameter with a matching type to the dispatcher parameter but with a different name.
  4. Bind the event dispatcher to the custom event.
  5. Link the parameter of the custom event to something e.g. a print string. It should compile without errors.
  6. Save and re-load the project. The blueprint should now show an error with the custom event.

Expected result:
Either there should be an error in the first place, or it should allow different names as long as the type is the same.

Hello,

We’ve recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

https://epicsupport.force.com/unrealengine/s/

Thanks