QuestJournal "already registered" when reloading scene
Posted: Tue Aug 31, 2021 2:37 pm
Hi!
My game has a "main scene" which includes my QuestJournal. When I leave this scene and come back later, I get the following message:
My QuestJournal lives on the same GameObject as my QuestMachineConfiguration, so it's a singleton that's kept alive between scenes, in case this helps.
Based on digging through the code, it looks like this error message is being caused by IdentifiableQuestListContainer.OnEnable() calling QuestMachine.RegisterQuestListContainer(this). This seems fairly straightforward and expected, so I assume I've set something up wrong (or that I should just ignore this error message or something). Could you please advise?
My game has a "main scene" which includes my QuestJournal. When I leave this scene and come back later, I get the following message:
Code: Select all
Quest Machine: A QuestListContainer with id 'quest-journal' is already registered. Can't register QuestJournal (PixelCrushers.QuestMachine.Wrappers.QuestJournal)
Based on digging through the code, it looks like this error message is being caused by IdentifiableQuestListContainer.OnEnable() calling QuestMachine.RegisterQuestListContainer(this). This seems fairly straightforward and expected, so I assume I've set something up wrong (or that I should just ignore this error message or something). Could you please advise?