Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C++ Emit doesn't fill prop pointers correctly for lambda/delegate listeners #15

Open
getnamo opened this issue Mar 5, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@getnamo
Copy link
Owner

getnamo commented Mar 5, 2021

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

@getnamo getnamo added the bug Something isn't working label Mar 5, 2021
@getnamo
Copy link
Owner Author

getnamo commented Mar 5, 2021

@getnamo
Copy link
Owner Author

getnamo commented Apr 5, 2021

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

@getnamo
Copy link
Owner Author

getnamo commented Nov 17, 2022

5.1 changes (21c0d12) have not solved this issue yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant