Page 1 of 2
Quest Journal not getting updated
Posted: Sun May 14, 2023 8:40 am
by vectorfrog
Hi Tony,
I'm currently having a problem with getting the active quest to show up in the Quest Journal UI. I am using DS, QM, TDE, UIS, Emerald AI, and SoulLink,
When I inspect the Quest Journal component on the player, I can see the active quest is set correctly.
Is there a list of things for me to check to make sure I have things set correctly? I don't remember if I had this problem on the last project, but it seems that I am missing something obviously.
Thanks for any help and insight.
Re: Quest Journal not getting updated
Posted: Sun May 14, 2023 8:44 am
by vectorfrog
I should note that I do have data in the Journal Text region of the Active State for the quest. So I think there should be something going into the journal, but I'm not sure what I'm missing.
Thanks!
Re: Quest Journal not getting updated
Posted: Sun May 14, 2023 9:22 am
by Tony Li
Hi,
How are you opening the journal UI? Don't call the journal UI's UnityUIQuestJournalUI.Show() method -- or, if you do, use the version that accepts your player's Quest Journal component. Better yet, call the Quest Journal component's ShowJournalUI() or ToggleJournalUI() method.
Re: Quest Journal not getting updated
Posted: Sun May 14, 2023 9:28 am
by vectorfrog
I have a button on screen that uses the Quest Journal Component on the player. Calling QuestJournal.ShowJournalUI
I thought that it might be that it was using a different version of the journal, but that doesnt seem to be the case.
Thanks!
Re: Quest Journal not getting updated
Posted: Sun May 14, 2023 11:05 am
by Tony Li
If you're not using the current version of Quest Machine (1.2.37 as of this reply), can you back up your project, update to the current version, and let me know if the problem persists?
If the problem still occurs, please let me know if there are any warnings or errors in the Console.
Re: Quest Journal not getting updated
Posted: Sun May 14, 2023 11:06 am
by vectorfrog
I am using the most recent version. 1.2.37.1
I have no errors or warnings in the console that have to do with QM.
Re: Quest Journal not getting updated
Posted: Sun May 14, 2023 11:09 am
by Tony Li
Hi,
Can you send a
reproduction project to tony (at) pixelcrushers.com?
Re: Quest Journal not getting updated
Posted: Sun May 14, 2023 11:16 am
by vectorfrog
I'm not sure where to put it. It's a gig zipped. I cant strip out any assets to make it smaller.
Edit:
I posted it to my google drive and you should have a link to it. Let me know if that will work.
Thanks!
Re: Quest Journal not getting updated
Posted: Mon May 15, 2023 3:24 pm
by Tony Li
Just tying up this thread in case the question comes up again for someone.
When configuring a UnityEvent to call QuestJournal.ToggleJournalUI(), make sure you point the UnityEvent to the in-scene instance of the player's QuestJournal, not to a player prefab asset.
Re: Quest Journal not getting updated
Posted: Tue Jul 25, 2023 7:43 am
by DebugJk
I have same problem
but i cant understand what is UnityEvent?
sorry my unityLevel is begginer