DontDestroyOnLoad and AllowOnlyOneInstance are enabled on my DialogueSystemController, and my CommonLibraryLua script is on the same prefab as my DialogueSystemController.
The order that the CommonLibraryLua OnEnable/OnDisable functions get called leaves the three SendMessage Lua functions disabled. I'm not sure how to go about fixing it.
OnEnable is called after the scene load
OnDisable is called in Awake, which is eventually called after OnEnable
SendMessageSystem Lua function getting disabled when DontDestroyOnLoad and AllowOnlyOneInstance are enabled
Re: SendMessageSystem Lua function getting disabled when DontDestroyOnLoad and AllowOnlyOneInstance are enabled
Hi,
Sorry, that slipped through the cracks. This patch should fix it:
DS_CommonLibraryLuaPatch_2020-07-22.unitypackage
It will also be in version 2.2.9.
Sorry, that slipped through the cracks. This patch should fix it:
DS_CommonLibraryLuaPatch_2020-07-22.unitypackage
It will also be in version 2.2.9.