I’ve followed this lecture exactly and even checked with the lecture changes on the repository. For some reason whenever I try to close the dialogue I get a NullPointer exception on this line in QuestListUI
QuestItemUI uiInstance = Instantiate(questPrefab, transform);
The error claims that questPrefab is null and indeed when I attach debuger the prefab is null whenever I try to close the dialogue. However, when I try to open the quest log, then start is called again, therefore redraw is called again and the prefab is fine, no errors. Since this bug does not really affect gameplay, but only UI I can get around it with a null check for the prefab and everything works fine. However it would be nice to know why this happens (something to do with the inactivity of quest ui until I call it on screen?)
By the way if my quest ui is open during the dialogue it does work as expected.