Closed ijisthee closed 8 months ago
@acdamiani to avoid misunderstanding I did not update vom 1.0.5 to https://github.com/acdamiani/schema/commit/4d65500b8deb3f4127e8d2d4b06802d7da5b0545 or https://github.com/acdamiani/schema/commit/627c8558169341cae22a89872df20d41795ed027 but only from 1.0.5 to https://github.com/acdamiani/schema/commit/15b26ec4829f64418e47cd99410415604fe16ac7
I'm having a theory. I've created a class inside of the Schema folder structure and used it in the Graph asset. To update from Asset Store Package to Git Package I've had to delete the Schema folder from Assets folder. Unity automatically places it inside the Root/Packages folder.
Then obviously I've lost my class and the Graph Asset could not be opened anymore. My Class was a conditional and the error happened in
SchemaEditor.Internal.ComponentSystem.Components.ConditionalComponent.Create...
Since the class is gone and I cannot put it back to the Root/Packages/Schema folder since it's readonly I cannot get the Graph asset to work.
Maybe it is possible in the future to simply create a warning (missing GraphObject) or so.
Without that kind of warning the Graph asset is completely gone and a lot of work is lost eventually.
Yeah, it sounds like missing that custom class caused the error. I'll add a warning in the future so that a missed node/conditional class doesn't cause the whole tree to lock up.
Hi @acdamiani
I've updated Schema AI via import from git (before I downloaded it from Asset Store).
When I open my Graph, I get this error message / stack trace:
Blackboard entries are still there but conditionals and connections seem to be gone at least visually.
BaseAIGraph.asset.zip AI.zip
I've added my Graph Asset and my custom Action and Conditional for you to reproduce it.
After going back to v 1.0.5 from Asset Store I still get the same error and I cannot create new connections. :-(