Journal Text Not Displayed in Quest Journal UI (DS + QM)

Announcements, support questions, and discussion for Quest Machine.
Post Reply
User avatar
ha33ona
Posts: 7
Joined: Wed Feb 12, 2025 4:14 am

Journal Text Not Displayed in Quest Journal UI (DS + QM)

Post by ha33ona »

Hello,
I integrated Dialogue System + Quest Machine + Love/Hate into my project. I had everything set up and working properly. But now, after multiple updates to the assets, I have an issue where the Journal Text for the quest in Quest Machine is not reflecting properly in the Quest Journal UI for the Dialogue System. Instead, what I'm receiving is the quest description for the quest in the Dialogue System.
Attachments
Pic2.png
Pic2.png (116.21 KiB) Viewed 10988 times
Pic1.png
Pic1.png (256.77 KiB) Viewed 10988 times
User avatar
Tony Li
Posts: 22871
Joined: Thu Jul 18, 2013 1:27 pm

Re: Journal Text Not Displayed in Quest Journal UI (DS + QM)

Post by Tony Li »

Hi,

When you're using Quest Machine, you should use Quest Machine's quest journal UI, not the Dialogue System's quest log window. Quest names are only copied into the Dialogue System's dialogue database to make them easy to select in Conditions and Script fields' "..." dropdown menus.
User avatar
ha33ona
Posts: 7
Joined: Wed Feb 12, 2025 4:14 am

Re: Journal Text Not Displayed in Quest Journal UI (DS + QM)

Post by ha33ona »

Hi Tony,
I have successfully transitioned the Quest Journal to Quest Machine. However, a new issue has arisen: when a quest is initiated while the Quest Journal is hidden, it is not subsequently added to the journal. Conversely, if the Quest Journal is visible upon quest initiation, the quest is correctly added.
Attachments
Pic2.PNG
Pic2.PNG (328.23 KiB) Viewed 10574 times
Pic1.PNG
Pic1.PNG (332.24 KiB) Viewed 10574 times
User avatar
ha33ona
Posts: 7
Joined: Wed Feb 12, 2025 4:14 am

Re: Journal Text Not Displayed in Quest Journal UI (DS + QM)

Post by ha33ona »

Hi,
Resolved the issue by invoking the Repaint() function within the Quest Journal Open() event handler. 8-)
User avatar
Tony Li
Posts: 22871
Joined: Thu Jul 18, 2013 1:27 pm

Re: Journal Text Not Displayed in Quest Journal UI (DS + QM)

Post by Tony Li »

Hi,

Changing a quest state should automatically update all UIs. Are you deactivating the UnityUIQuestJournalUI component/GameObject and/or the QuestJournal? These should generally stay active.
User avatar
ha33ona
Posts: 7
Joined: Wed Feb 12, 2025 4:14 am

Re: Journal Text Not Displayed in Quest Journal UI (DS + QM)

Post by ha33ona »

Hello,
I've observed that quest state updates only propagate to the UI when the quest journal UI is visible. I'm currently using the default prefab options for the Journal UI, which is initialized in a deactivated state and, I believe, is also deactivated when hidden.
User avatar
Tony Li
Posts: 22871
Joined: Thu Jul 18, 2013 1:27 pm

Re: Journal Text Not Displayed in Quest Journal UI (DS + QM)

Post by Tony Li »

Ah, make sure to open the journal UI by calling the QuestJournal component's QuestJournal.ShowJournal() or ToggleJournalUI() methods. Otherwise the journal UI doesn't know which quest journal's content to show. (Quest Machine allows for multiple quest journals, such as with local multiplayer games or AI questers.)
Post Reply