Page 1 of 1

Missing Error Handling

Posted: Wed Mar 10, 2021 11:16 am
by AArtlone
Hey again!

I just wanted to share that it seems like there is a null check missing that perhaps you would want to add.

In the QuestGenerator, line 109 is checking if the quest is abandonable. But if the QuestGenerator was not able to generate the plan, then the quest variable will still be null.

In my case, it failed to generate the plan because none of the entities had an UrgencyFunction assigned to it.

I hope you find this helpful.

Re: Missing Error Handling

Posted: Wed Mar 10, 2021 12:55 pm
by Tony Li
Hi,

Thanks for reporting that. I'll fix it in the next update.

Re: Missing Error Handling

Posted: Fri Mar 19, 2021 6:57 am
by AArtlone
Hi Tony!

I was curious if this error was already fixed? If yes, could I receive an update patch?

If not, do you know when it will be fixed and when the update will be released?

Thanks in advance,
Artem

Re: Missing Error Handling

Posted: Fri Mar 19, 2021 9:10 am
by Tony Li
Hi,

This patch includes a few fixes, including the one mentioned in this thread as well previous threads:

QM_QuestGeneratorPatch_2021-03-19.unitypackage

Re: Missing Error Handling

Posted: Mon Mar 22, 2021 7:41 am
by AArtlone
Thank you very much!

Re: Missing Error Handling

Posted: Mon Mar 22, 2021 10:26 am
by Tony Li
Glad to help! Thanks for reporting issues.