brunomikoski/ScriptableObjectCollection

Collections added in runtime being removed on OnPlayModeStateChanged

gsaurus opened this issue · 0 comments

Collections marked to not load automatically, are removed on OnPlayModeStateChanged when running from the Editor.
The problem is that when this event is fired, plenty of runtime initialisation code has already ran, initialisations that could have added collections to the registry - resulting in them being automatically removed afterwards.