Issue in Unity 5.0 with getting all active quests.
Posted: Tue Mar 17, 2015 11:14 am
Hey guys, I recently purchased your Dialogue System because it's simply the Best system available for Unity that out there. My Team and I have recently moved out project to Unity 5.0 and we've also updated to your 1.4.8 dialogue system. we've installed the 5.0 DLL files, and the Unity UI support package.
We have set an array string of
public string[] questNames;
//Used to get all the quests based on the state this should be active
questNames = QuestLog.GetAllQuests();
questCount = questNames.Length;
According to your documentation this should result in our getting a list of Active Quest Names that we can populate a QuestLog window with.
However we get an error:
InvalidCastException: Cannot cast from source type to destination type.
PixelCrushers.DialogueSystem.QuestLog.GetAllQuests (QuestState flags)
Has something changed in 5.0? Also we tried using your own Quest Tracker script and the same call in your own script causes the same exact error.
We have set an array string of
public string[] questNames;
//Used to get all the quests based on the state this should be active
questNames = QuestLog.GetAllQuests();
questCount = questNames.Length;
According to your documentation this should result in our getting a list of Active Quest Names that we can populate a QuestLog window with.
However we get an error:
InvalidCastException: Cannot cast from source type to destination type.
PixelCrushers.DialogueSystem.QuestLog.GetAllQuests (QuestState flags)
Has something changed in 5.0? Also we tried using your own Quest Tracker script and the same call in your own script causes the same exact error.