ECS type manager error spam

Hey sorry to bother on this but I can’t seem to eradicate these “type manager” errors even after a library clear and full reinstalls of burst / jobs / ECS / A* etc. Would anyone have any ideas on what I can do?

InvalidOperationException: ComponentType.TypeIndex does not match precalculated index for Pathfinding.ECS.AgentMovementPlaneSource. Expected: 00002000 Actual: 00000000
Unity.Entities.TypeManager.AddAllComponentTypes (System.Type componentTypes, System.Int32 startTypeIndex, System.Collections.Generic.Dictionary2[TKey,TValue] writeGroupByType, System.Collections.Generic.Dictionary2[TKey,TValue] descendantCountByType) (at ./Library/PackageCache/com.unity.entities@1.3.8/Unity.Entities/Types/TypeManager.cs:2800)
UnityEngine.Debug:LogException(Exception)
Unity.Debug:LogException(Exception) (at ./Library/PackageCache/com.unity.entities@1.3.8/Unity.Entities/Stubs/Unity/Debug.cs:17)
Unity.Entities.TypeManager:AddAllComponentTypes(Type, Int32, Dictionary2, Dictionary2) (at ./Library/PackageCache/com.unity.entities@1.3.8/Unity.Entities/Types/TypeManager.cs:2818)
Unity.Entities.TypeManager:InitializeAllComponentTypes() (at ./Library/PackageCache/com.unity.entities@1.3.8/Unity.Entities/Types/TypeManager.cs:2674)
Unity.Entities.TypeManager:Initialize() (at ./Library/PackageCache/com.unity.entities@1.3.8/Unity.Entities/Types/TypeManager.cs:1528)
Unity.Entities.AttachToEntityClonerInjection:Initialize() (at ./Library/PackageCache/com.unity.entities@1.3.8/Unity.Entities.Hybrid/Injection/CompanionGameObject.cs:23)
Unity.Entities.AttachToEntityClonerInjection:.cctor() (at ./Library/PackageCache/com.unity.entities@1.3.8/Unity.Entities.Hybrid/Injection/CompanionGameObject.cs:17)
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes(Type)

InvalidOperationException: ComponentType.TypeIndex does not match precalculated index for Pathfinding.ECS.AgentMovementPlaneSource. Expected: 00002000 Actual: 00000000
Unity.Entities.TypeManager.AddAllComponentTypes (System.Type componentTypes, System.Int32 startTypeIndex, System.Collections.Generic.Dictionary2[TKey,TValue] writeGroupByType, System.Collections.Generic.Dictionary2[TKey,TValue] descendantCountByType) (at ./Library/PackageCache/com.unity.entities@1.3.8/Unity.Entities/Types/TypeManager.cs:2800)
UnityEngine.Debug:LogException(Exception)
Unity.Debug:LogException(Exception) (at ./Library/PackageCache/com.unity.entities@1.3.8/Unity.Entities/Stubs/Unity/Debug.cs:17)
Unity.Entities.TypeManager:AddAllComponentTypes(Type, Int32, Dictionary2, Dictionary2) (at ./Library/PackageCache/com.unity.entities@1.3.8/Unity.Entities/Types/TypeManager.cs:2818)
Unity.Entities.TypeManager:InitializeAllComponentTypes() (at ./Library/PackageCache/com.unity.entities@1.3.8/Unity.Entities/Types/TypeManager.cs:2674)
Unity.Entities.TypeManager:Initialize() (at ./Library/PackageCache/com.unity.entities@1.3.8/Unity.Entities/Types/TypeManager.cs:1528)
Unity.Entities.BindingRegistry:Initialize() (at ./Library/PackageCache/com.unity.entities@1.3.8/Unity.Entities.Hybrid/Bindings/BindingRegistry.cs:83)
Unity.Entities.BindingRegistry:.cctor() (at ./Library/PackageCache/com.unity.entities@1.3.8/Unity.Entities.Hybrid/Bindings/BindingRegistry.cs:76)
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes(Type)

I solved this (temporarily) by basically purging my json of basically everything, full library and cache clear and an asset reimport. I cleared all the burst and jobs preferences and rebuilt my slns. looks like it’s abated it for now but I’ve had this problem come back after an asset clear before. Not looking forward to dealing with it again.

Hmm, if you already did a full reinstall of both ECS/Entities and Astar :thinking: Can you try and recreate this in another project? Which version of Unity are you using, and when do these errors show up?