[Bug Report] Using spaces in "Event Dispatchers" (delegates) causes "Nativize Blueprints" Build to Fail

Using spaces in “Event Dispatchers” (delegates) causes Native Build to Fail.

Reproduce:

  1. Create a blueprint, like a character.
  2. Add an Event Dispatcher, named like “Update a Bar”
  3. Package game, checking box to Nativize blueprint code.

Get error, telling you source code is messed up, see the following (note spaces):

DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FUpdate a Bar__Example_Character_C__pf__MulticastDelegate , FName , bpp__BarxID__pfT, float , bpp__NewxPercentage__pfT);

Hello zerosum0x0,

I was able to reproduce this issue on our end. I have written up a report (UE-29795) and I have submitted it to the developers for further consideration. I will provide updates with any pertinent information as it becomes available. Thank you for your time and information.

Make it a great day