Error in early setup of Quest Machine

Announcements, support questions, and discussion for Quest Machine.
Post Reply
cptscrimshaw
Posts: 113
Joined: Sun Sep 20, 2020 8:21 pm

Error in early setup of Quest Machine

Post by cptscrimshaw »

[Edit] - I appeared to resolve the problem by closing some of my editor tabs (not sure which one it was), but I figured you might want to know about the error anyway, so I'll leave my post up.

After working with your dialogue system, I decided to give Quest Machine a try, and I've run into an issue early on.

So far the only steps I've taken are to import Quest Machine, add the prefab to my scene, create a quest database, and link it to my Quest Machine game object.

When I go to add a new quest from the Quest Database inspector, I get an error in the console: NullReferenceException: SerializedObject of SerializedProperty has been Disposed. (see attached screenshot for more details). It does create the asset, but whenever I try to add anything to the asset (for example, adding Offer text) I get another error (see second screenshot).

To test, I created a brand new project, and did not run into these issues, which is good, but unfortunate, because I have no idea what in my project could be causing this problem. Any ideas?

I tried rebuilding the /Library of my project, but that didn't help.

Images:
https://ibb.co/7ySFf1g
https://ibb.co/nPBSVW0
User avatar
Tony Li
Posts: 22108
Joined: Thu Jul 18, 2013 1:27 pm

Re: Error in early setup of Quest Machine

Post by Tony Li »

Hi,

This is a known bug in Unity 2020.1 and 2020.2alpha/beta. It's a bug in Unity's AssetDatabase system, so it's nothing that Quest Machine can engineer around. Unity expects it to be fixed in the 2020.2 release version.
Post Reply