AI Planner error
Hi guys.
I just got whole bunch of errors (21) after updating unity and some packages including AI planner. I will list those errors below and if you have any tip for how I can fix it, please share them. Restarting unity, restoring previous version of the project or removing and reimporting the package did not help.
Packages\com.ai.planner.domains.generated\AI.Planner.Domains\PlanningDomainData.cs(160,31): error CS0305: Using the generic type 'ITraitBasedStateData' requires 1 type arguments
Packages\com.ai.planner.domains.generated\AI.Planner.Domains\PlanningDomainData.cs(876,40): error CS0246: The type or namespace name 'IDestroyStatesScheduler<,,,>' could not be found (are you missing a using directive or an assembly reference?)
Packages\com.ai.planner.domains.generated\AI.Planner.Domains\PlanningDomainData.cs(549,14): error CS0305: Using the generic type 'ITraitBasedStateData' requires 1 type arguments
Packages\com.ai.planner.domains.generated\AI.Planner.Domains\PlanningDomainData.cs(41,38): error CS0246: The type or namespace name 'ITraitBasedObject' could not be found (are you missing a using directive or an assembly reference?)
Packages\com.ai.planner.domains.generated\AI.Planner.Domains\PlanningDomainData.cs(692,19): error CS0315: The type 'AI.Planner.Domains.TraitBasedObject' cannot be used as type parameter 'TObject' in the generic type or method 'ITraitBasedStateDataContext'. There is no boxing conversion from 'AI.Planner.Domains.TraitBasedObject' to 'Unity.AI.Planner.DomainLanguage.TraitBased.IDomainObject'.
Packages\com.ai.planner.domains.generated\AI.Planner.Domains\PlanningDomainData.cs(692,19): error CS0315: The type 'AI.Planner.Domains.StateData' cannot be used as type parameter 'TStateData' in the generic type or method 'ITraitBasedStateDataContext'. There is no boxing conversion from 'AI.Planner.Domains.StateData' to 'Unity.AI.Planner.DomainLanguage.TraitBased.ITraitBasedStateData'.
Packages\com.ai.planner.domains.generated\AI.Planner.Domains\PlanningDomainData.cs(764,18): error CS0315: The type 'AI.Planner.Domains.TraitBasedObject' cannot be used as type parameter 'TObject' in the generic type or method 'ITraitBasedStateManager'. There is no boxing conversion from 'AI.Planner.Domains.TraitBasedObject' to 'Unity.AI.Planner.DomainLanguage.TraitBased.IDomainObject'.
Packages\com.ai.planner.domains.generated\AI.Planner.Domains\PlanningDomainData.cs(764,18): error CS0315: The type 'AI.Planner.Domains.StateData' cannot be used as type parameter 'TStateData' in the generic type or method 'ITraitBasedStateManager'. There is no boxing conversion from 'AI.Planner.Domains.StateData' to 'Unity.AI.Planner.DomainLanguage.TraitBased.ITraitBasedStateData'.
Packages\com.ai.planner.domains.generated\AI.Planner.Domains\PlanningDomainData.cs(216,104): error CS0246: The type or namespace name 'TraitBasedObjectId' could not be found (are you missing a using directive or an assembly reference?)
Packages\com.ai.planner.domains.generated\AI.Planner.Domains\PlanningDomainData.cs(698,44): error CS0315: The type 'AI.Planner.Domains.TraitBasedObject' cannot be used as type parameter 'T' in the generic type or method 'BufferFromEntity'. There is no boxing conversion from 'AI.Planner.Domains.TraitBasedObject' to 'Unity.Entities.IBufferElementData'.
Packages\com.ai.planner.domains.generated\AI.Planner.Domains\PlanningDomainData.cs(243,108): error CS0246: The type or namespace name 'TraitBasedObjectId' could not be found (are you missing a using directive or an assembly reference?)
Packages\com.ai.planner.domains.generated\AI.Planner.Domains\PlanningDomainData.cs(699,44): error CS0246: The type or namespace name 'TraitBasedObjectId' could not be found (are you missing a using directive or an assembly reference?)
Packages\com.ai.planner.domains.generated\AI.Planner.Domains\PlanningDomainData.cs(484,45): error CS0246: The type or namespace name 'TraitBasedObjectId' could not be found (are you missing a using directive or an assembly reference?)
Packages\com.ai.planner.domains.generated\AI.Planner.Domains\PlanningDomainData.cs(499,16): error CS0246: The type or namespace name 'TraitBasedObjectId' could not be found (are you missing a using directive or an assembly reference?)
Packages\com.ai.planner.domains.generated\AI.Planner.Domains\PlanningDomainData.cs(505,16): error CS0246: The type or namespace name 'TraitBasedObjectId' could not be found (are you missing a using directive or an assembly reference?)
Packages\com.ai.planner.domains.generated\AI.Planner.Domains\PlanningDomainData.cs(510,53): error CS0246: The type or namespace name 'TraitBasedObjectId' could not be found (are you missing a using directive or an assembly reference?)
Packages\com.ai.planner.domains.generated\AI.Planner.Domains\PlanningDomainData.cs(554,54): error CS0246: The type or namespace name 'ObjectCorrespondence' could not be found (are you missing a using directive or an assembly reference?)
Packages\com.ai.planner.domains.generated\AI.Planner.Domains\PlanningDomainData.cs(629,140): error CS0246: The type or namespace name 'ObjectCorrespondence' could not be found (are you missing a using directive or an assembly reference?)
Packages\com.ai.planner.domains.generated\AI.Planner.Domains\PlanningDomainData.cs(549,104): error CS0246: The type or namespace name 'ObjectCorrespondence' could not be found (are you missing a using directive or an assembly reference?)
Packages\com.ai.planner.domains.generated\AI.Planner.Domains\PlanningDomainData.cs(549,14): error CS0538: 'ITraitBasedStateData' in explicit interface declaration is not an interface
Packages\com.ai.planner.domains.generated\AI.Planner.Domains\PlanningDomainData.cs(164,30): error CS0246: The type or namespace name 'TraitBasedObjectId' could not be found (are you missing a using directive or an assembly reference?)
I did not touch any of those files.
Sorry for the mistake, updated the title.
Your answer
Follow this Question
Related Questions
Launch Xcode build from iOS application project. 0 Answers
How to chase and change material,How to chase an object and change material on touch with AI? 0 Answers
Problem with opening an older package in a new version of Unity 0 Answers
Custom Package not updating 0 Answers
Package Manager Missing "Show Preview Packages" Option 1 Answer