SolidAlloy / ExtEvents

A better replacement for UnityEvents
Other
125 stars 13 forks source link

BaseExtEvent._persistentListeners is null unless serialized #8

Open harald921 opened 1 year ago

harald921 commented 1 year ago

Issue: The array "_persistentListeners" is null unless serialized. This causes a NullReferenceException in events that have been added during runtime specifically the use of DynamicListeners.

Steps to reproduce:

Solution: Create a new empty array in the constructor

(Off topic side note: Thank you so much for creating this plugin, it's amazing)