[Solved] Assembly definition issues V. 4.3.79

I’m unable to use A* Project Pro if I use it through assembly definition. I tried adding other .asmdef files instead of just the main one but none of them seemed to fix the issue either.

https://i.imgur.com/YjoC1gK.png

https://i.imgur.com/6ijIyQV.png

https://i.imgur.com/FDFWIfL.png

The type ‘Pathfinding.RichAI’ must be convertible to ‘UnityEngine.Component’ in order to use it as parameter ‘T’ in the generic method 'T UnityEngine.GameObject.AddComponent()

Unity 2022.3.4f1
A* Pro 4.3.79
URP

Edit: Solved by restarting unity, with the first picture as the assembly references.