Console warnings when adding new Quest Giver
Posted: Wed Apr 20, 2022 12:24 pm
Hi! I've added a Quest Giver component to one of my NPCs, set the ID and name, and added a couple of Quests. When I enter run mode, I get these warnings in the console:
Any idea what is causing this?
Full stack trace is as follows:
and:
Code: Select all
CloneList<QuestContent>: Element 0 is null.
Quest Machine: QuestSubasset.CloneList<QuestContent>: Element 0 is null.
Full stack trace is as follows:
Code: Select all
CloneList<QuestContent>: Element 0 is null.
UnityEngine.Debug:LogWarning (object)
PixelCrushers.ScriptableObjectUtility:CloneList<PixelCrushers.QuestMachine.QuestContent> (System.Collections.Generic.List`1<PixelCrushers.QuestMachine.QuestContent>) (at Assets/Plugins/Pixel Crushers/Common/Scripts/Misc/ScriptableObjectUtility.cs:74)
PixelCrushers.QuestMachine.QuestSubasset:CloneList<PixelCrushers.QuestMachine.QuestContent> (System.Collections.Generic.List`1<PixelCrushers.QuestMachine.QuestContent>) (at Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest/Quest Subasset/QuestSubasset.cs:136)
PixelCrushers.QuestMachine.QuestStateInfo:CloneSubassetsInto (PixelCrushers.QuestMachine.QuestStateInfo) (at Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest/Quest State/QuestStateInfo.cs:126)
PixelCrushers.QuestMachine.QuestStateInfo:CloneSubassets (System.Collections.Generic.List`1<PixelCrushers.QuestMachine.QuestStateInfo>,System.Collections.Generic.List`1<PixelCrushers.QuestMachine.QuestStateInfo>) (at Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest/Quest State/QuestStateInfo.cs:205)
PixelCrushers.QuestMachine.Quest:Clone () (at Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest/Quest.cs:614)
PixelCrushers.QuestMachine.QuestListContainer:AddQuest (PixelCrushers.QuestMachine.Quest,bool) (at Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest MonoBehaviours/Quest List/QuestListContainer.cs:223)
PixelCrushers.QuestMachine.QuestListContainer:AddQuest (PixelCrushers.QuestMachine.Quest) (at Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest MonoBehaviours/Quest List/QuestListContainer.cs:209)
PixelCrushers.QuestMachine.QuestGiver:AddQuest (PixelCrushers.QuestMachine.Quest) (at Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest MonoBehaviours/Quest List/QuestGiver.cs:318)
PixelCrushers.QuestMachine.QuestListContainer:AddQuests (System.Collections.Generic.List`1<PixelCrushers.QuestMachine.Quest>) (at Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest MonoBehaviours/Quest List/QuestListContainer.cs:199)
PixelCrushers.QuestMachine.QuestListContainer:InstantiateQuestAssets () (at Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest MonoBehaviours/Quest List/QuestListContainer.cs:165)
PixelCrushers.QuestMachine.QuestListContainer:Awake () (at Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest MonoBehaviours/Quest List/QuestListContainer.cs:149)
PixelCrushers.QuestMachine.QuestGiver:Awake () (at Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest MonoBehaviours/Quest List/QuestGiver.cs:186)
Code: Select all
Quest Machine: QuestSubasset.CloneList<QuestContent>: Element 0 is null.
UnityEngine.Debug:LogWarning (object)
PixelCrushers.QuestMachine.QuestSubasset:CloneList<PixelCrushers.QuestMachine.QuestContent> (System.Collections.Generic.List`1<PixelCrushers.QuestMachine.QuestContent>) (at Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest/Quest Subasset/QuestSubasset.cs:145)
PixelCrushers.QuestMachine.QuestStateInfo:CloneSubassetsInto (PixelCrushers.QuestMachine.QuestStateInfo) (at Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest/Quest State/QuestStateInfo.cs:126)
PixelCrushers.QuestMachine.QuestStateInfo:CloneSubassets (System.Collections.Generic.List`1<PixelCrushers.QuestMachine.QuestStateInfo>,System.Collections.Generic.List`1<PixelCrushers.QuestMachine.QuestStateInfo>) (at Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest/Quest State/QuestStateInfo.cs:205)
PixelCrushers.QuestMachine.Quest:Clone () (at Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest/Quest.cs:614)
PixelCrushers.QuestMachine.QuestListContainer:AddQuest (PixelCrushers.QuestMachine.Quest,bool) (at Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest MonoBehaviours/Quest List/QuestListContainer.cs:223)
PixelCrushers.QuestMachine.QuestListContainer:AddQuest (PixelCrushers.QuestMachine.Quest) (at Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest MonoBehaviours/Quest List/QuestListContainer.cs:209)
PixelCrushers.QuestMachine.QuestGiver:AddQuest (PixelCrushers.QuestMachine.Quest) (at Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest MonoBehaviours/Quest List/QuestGiver.cs:318)
PixelCrushers.QuestMachine.QuestListContainer:AddQuests (System.Collections.Generic.List`1<PixelCrushers.QuestMachine.Quest>) (at Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest MonoBehaviours/Quest List/QuestListContainer.cs:199)
PixelCrushers.QuestMachine.QuestListContainer:InstantiateQuestAssets () (at Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest MonoBehaviours/Quest List/QuestListContainer.cs:165)
PixelCrushers.QuestMachine.QuestListContainer:Awake () (at Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest MonoBehaviours/Quest List/QuestListContainer.cs:149)
PixelCrushers.QuestMachine.QuestGiver:Awake () (at Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest MonoBehaviours/Quest List/QuestGiver.cs:186)