[SOLVED] Quest Journal not showing anything
-
- Posts: 118
- Joined: Thu Dec 19, 2019 7:38 am
[SOLVED] Quest Journal not showing anything
Hi,
My quest machine journal was showing quests beyond the scrollable viewport. While trying to fix that, I've somehow changed something so that no quests show up on the journal now. In my Quest Machine Configuration, it still shows Quest Journal UI for the field Quest Journal UI. What else should I check to ensure the journal get's updated?
I believe my initial issue of scrolling was related to the Mask being turned off on the Scroll Rect but now I have no way of confirming that because Quests no long show up.
Thank you for your help in advance.
My quest machine journal was showing quests beyond the scrollable viewport. While trying to fix that, I've somehow changed something so that no quests show up on the journal now. In my Quest Machine Configuration, it still shows Quest Journal UI for the field Quest Journal UI. What else should I check to ensure the journal get's updated?
I believe my initial issue of scrolling was related to the Mask being turned off on the Scroll Rect but now I have no way of confirming that because Quests no long show up.
Thank you for your help in advance.
Last edited by mschoenhals on Sun Dec 13, 2020 10:20 pm, edited 1 time in total.
-
- Posts: 118
- Joined: Thu Dec 19, 2019 7:38 am
Re: [HELP] Quest Journal not showing anything
Ok, the quest data came back if I turned the Mask off on the Scroll Rect. So now my issue is, when enough quests are logged, it shows the list beyond the Scroll Rect. The scroll bar still works, but it just moves the list up and down beyond the Scroll Rect of the journal window.
Re: [HELP] Quest Journal not showing anything
Hi,
If you play in the editor and open the quest journal UI, does Quest Machine put UI content inside the quest journal UI? (For example, in the Hierarchy under Quest Journal UI > Main Panel > Quest Selection Panel > Scroll Rect > Quest Selection Scroll Rect Content.)
If it's putting content inside Quest Selection Scroll Rect Content, then it's some sort of masking issue or rect transform issue.
If it's not putting content inside Quest Selection Scroll Rect Content, then the quest journal UI isn't getting the message to refresh/repaint itself.
If you play in the editor and open the quest journal UI, does Quest Machine put UI content inside the quest journal UI? (For example, in the Hierarchy under Quest Journal UI > Main Panel > Quest Selection Panel > Scroll Rect > Quest Selection Scroll Rect Content.)
If it's putting content inside Quest Selection Scroll Rect Content, then it's some sort of masking issue or rect transform issue.
If it's not putting content inside Quest Selection Scroll Rect Content, then the quest journal UI isn't getting the message to refresh/repaint itself.
-
- Posts: 118
- Joined: Thu Dec 19, 2019 7:38 am
Re: [HELP] Quest Journal not showing anything
Yes, Quest Machine is putting UI content inside of the quest journal UI. When I test the game and hit pause, I can see the updated journal info in the Scroll Rect Content area.
Re: [HELP] Quest Journal not showing anything
The scroll rect should have a Mask component that is enabled. Temporarily tick Show Mask Graphic to check the size and position of the masked area (i.e., the area of the Scroll Content that will be visible).
During play, open the quest journal. Try to identify what's prevent the content from being visible. Maybe the Scroll Content is being sized wrong. Check its Rect Transform > Height. This will typically be set automatically by the Vertical Layout Group and Content Size Fitter.
If you get stuck, please feel free to send a reproduction project to tony (at) pixelcrushers.com with instructions on how to reproduce the issue.
During play, open the quest journal. Try to identify what's prevent the content from being visible. Maybe the Scroll Content is being sized wrong. Check its Rect Transform > Height. This will typically be set automatically by the Vertical Layout Group and Content Size Fitter.
If you get stuck, please feel free to send a reproduction project to tony (at) pixelcrushers.com with instructions on how to reproduce the issue.
-
- Posts: 118
- Joined: Thu Dec 19, 2019 7:38 am
Re: [HELP] Quest Journal not showing anything
Ok, I have sent you the email with the repro link.
Thank you.
Thank you.
Re: [HELP] Quest Journal not showing anything
Hi Mike,
Thanks! I'm downloading it now. I'll reply back by the end of the day.
Thanks! I'm downloading it now. I'll reply back by the end of the day.
Re: [HELP] Quest Journal not showing anything
Hi Mike,
The mask image's alpha value was zero (transparent), which makes the masked content invisible. Set the alpha value to 255:
The mask image's alpha value was zero (transparent), which makes the masked content invisible. Set the alpha value to 255:
-
- Posts: 118
- Joined: Thu Dec 19, 2019 7:38 am
Re: [SOLVED] Quest Journal not showing anything
Thanks Tony! It's working great. Much appreciated.
Re: [SOLVED] Quest Journal not showing anything
Happy to help!