-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
bug (important)This needs to be fixed before shipping, but not as a first priorityThis needs to be fixed before shipping, but not as a first priority
Description
Short description
Current PR for dialogue system subscribes / unsubscribes from events using lambdas. This is unreliable and will cause bugs to pop up. More reading: https://stackoverflow.com/questions/1362204/how-to-remove-a-lambda-event-handler
multiple plays of cutscenes should see us subscribed to old playable directors and / or subscribed multiple times to the input system events.
Expected behaviour
Should be subscribed once and only once to each event.
To Reproduce
Steps to reproduce the behavior:
- put a log statement in the event delegate
- trigger multiple cutscenes
- see multiple calls of the same function
Notes
Metadata
Metadata
Assignees
Labels
bug (important)This needs to be fixed before shipping, but not as a first priorityThis needs to be fixed before shipping, but not as a first priority