Adding a field named "DisplayName" causes issues

There are some reserved words in the engine. This is one of them.

To report a bug:
https://epicsupport.force.com/unrealengine/s/

Not sure if this is a known issue or not but adding a field named “DisplayName” to a custom event inside an Object causes that custom event to not be named correctly.

Steps to reproduce:

  1. Create a new blueprint class that inherits from Object
  2. Add a new custom event
  3. Name it: “My Custom Event”
  4. Add a field to it named “DisplayName”
  5. Try calling this event from another blueprint. The “My Custom Event” won’t be found, instead a placeholder name will be available, something similar to BlueprintFunctionNameSpawner_1234