Page 1 of 1
Unity AssetDatanbase error?
Posted: Wed Mar 17, 2021 5:28 am
by Kuptain
WIth Unity version 2020.2.7f1 and above, I am always getting this error when trying to add an action to a quest:
Unity's AssetDatabase couldn't add the condition subasset to the quest. The project's AssetDatabase may contain a corrupt asset. Exception: SerializedObject of SerializedProperty has been Disposed.
Why exactly is this happening? It worked fine with Unity 2020.1.11f1 before upgrading the project. Using "import all" didn't help.
Re: Unity AssetDatanbase error?
Posted: Wed Mar 17, 2021 9:05 am
by Tony Li
Hi,
Unity has said this issue should be fixed in some version of Unity 2021.x.
Unity is tweaking the way its Asset Database version 2 works. An issue that passed under the radar in an older version of Unity may not pass in a newer version.
If you'd like to send a copy of your project to tony (at) pixelcrushers.com, I can try to figure out which asset is causing an issue.
Re: Unity AssetDatanbase error?
Posted: Thu Jul 01, 2021 7:40 pm
by timbecile
Tony, is there a workaround for this? I just ran into the same issue
Re: Unity AssetDatanbase error?
Posted: Thu Jul 01, 2021 8:32 pm
by Tony Li
Hi,
If you're not using the latest version of Quest Machine, back up your project and update to the latest. If that doesn't help, then the workaround is to find the offending asset. The asset might not be related to Quest Machine at all. The error isn't specifically in Quest Machine, but rather in Unity's Asset Database management. You could also try updating to the latest version of the current major Unity version you're using. For example, if you're using Unity 2020, try the latest version of Unity 2020.x. Back up your project first, just in case.
Re: Unity AssetDatanbase error?
Posted: Fri Jul 02, 2021 12:00 pm
by timbecile
That did it Tony! Thanks!
Re: Unity AssetDatanbase error?
Posted: Fri Jul 02, 2021 1:02 pm
by Tony Li
May I ask which thing did it?