Page 2 of 2

Re: Saving a whole scene Question

Posted: Thu Jan 21, 2021 7:57 pm
by BTippen
Sorry Joel, Im stuck again.

Im trying to save the agents that use A8 Pathfinding project. I have the AIPath and Seeker Components on the agents. I was originally getting the no parameter constructor on the AIPath Component. So i put one in but i am still getting an errors to do with pathfinding. Do you know any tips for making easy save 3 work with A* pathfinding project?

Re: Saving a whole scene Question

Posted: Thu Jan 21, 2021 8:14 pm
by BTippen
Ok I think i managed it for those also getting this problem i added parameterless Constructors for GridNode, GridNodeBase & GraphNode,

But i still have this error for circleColliders any ideas what this is?

CircleCollider2D.usedByComposite assign attempt for 'Food1(Clone)' is not valid as collider is not capable of being composited.

Re: Saving a whole scene Question

Posted: Thu Jan 21, 2021 8:41 pm
by Joel
Hi there,

The error you're receiving regarding the CircleCollider2D is likely because you're serialising a property which isn't serializable. As this is an error with the CircleCollider2D class rather that at our end, you would need to contact Unity regarding this and which properties you need to save to serialise their class.

All the best,
Joel

Re: Saving a whole scene Question

Posted: Thu Jan 21, 2021 10:11 pm
by BTippen
Is this the reason its not listed on the official notes as being supported?

Re: Saving a whole scene Question

Posted: Thu Jan 21, 2021 10:16 pm
by Joel
Hi there,

It's not in the Supported Types list because no explicit support has been created to serialise CircleCollider2D.

All the best,
Joel