I run into following situation when loading my game:
- First saver disables the object (it's an NPC that's temporarily hidden)
- Second saver loads quest list and calls AddQuest with delayStartup flag set to true
- Unity throws an error in AddQuest method because it won't allow calling StartCoroutine on an disabled GameObject.
I developed a workaround by keeping QuestList on a separate object that's always enabled, but I'm wondering if this could be somehow fixed in QuestMachine.
QuestListContainer on disabled GO
Re: QuestListContainer on disabled GO
Here's a patch. My thinking was that quest list containers (quest givers, quest journals, etc.) should be active when adding quests. But that's not technically a requirement.
QM_QuestListContainerPatch_2023-05-11.unitypackage
QM_QuestListContainerPatch_2023-05-11.unitypackage
Re: QuestListContainer on disabled GO
Glad to help! This change will be in the next full release, too.