GlobalEventSystem-Unreal
GlobalEventSystem-Unreal copied to clipboard
C++ Emit doesn't fill prop pointers correctly for lambda/delegate listeners
If we use the BP execGESEmitEventOneParam our emit data will already contain the correct prop pointers when the event gets processed.
However if we emit directly from c++ i.e. via FGESHandler::DefaultHandler()->EmitEvent(EmitData);
this won't necessarily fill the prop pointer if your receiver is a lambda or delegate.
Needs a fill/conversion step before we handle the emit
tagged branch: https://github.com/getnamo/global-event-system-ue4/tree/feaute-cpp-lambda-receiver
Only remaining non-working pair is c++ struct to bp. All other pairs work. Note added in readme, merging current branch until more dev time is found.
https://github.com/getnamo/global-event-system-ue4#current-important-issue
5.1 changes (https://github.com/getnamo/GlobalEventSystem-Unreal/commit/21c0d12f885d785adf7425e90e76db31fe8f49b8) have not solved this issue yet