RVO Simulator component not found, local avoidance example scene doesn't work

  • A* version: 5.2.3, Pro version
  • Unity version: 2022.3.30f1

Imported via package manager. Imported samples. Open local avoidance scene. Clicked play. Nothing happens.

RVO Simulator script is in the inspector but is greyed out, can only be found in the package manager and I cannot add that file to my scene.

I delete the samples folder and removed the A* Pathfinding via Package Manager.

Reimported and imported samples, etc.

Still no go. If I were to make a new unity project, then no problem. I checked console and there’s no error.

It’s only my big project that I can’t add RVO Simulator and local avoidance scene do not work.

How do I go about fixing this?

Hi

Are you getting any errors when importing or when compiling?

Make sure you don’t have any old installations of the package.

Oh wait, I must’ve updated again not too long ago. Correction:

  • A* version: 5.2.4, Pro version

I’ve been developing game for few years and updated once in a while. I have some scripts that controls RichAI, etc. so when I removed AStar Pathfinding and its samples, I have errors such as RichAI not found. I do not want to go through many of my scripts and comment out which I may end up commenting out a lot more. Can I avoid doing this?

I’ve had AStar Pathfinding since gosh many, many years, so I know to delete all the old installations which I did delete.

Now your question, specifically: any errors when/during importing:

  • Before importing, I checked and I have 13 errors only because of my script expecting AStar Pathfinding (is this relevant?)
  • Clicked on import and I see all files as “new”
  • After import, I see common warnings and errors such as:
    • NullReferenceException: Object reference not set to an instance of an object UnityEditor.Graphs.Edge.WakeUp () – Unity’s stuff, not important
    • The same field name is serialized multiple times in the class or its parent class. This is not supported: Base(WeaponController) itemSwitcher – My script, not important

But these errors goes away when I click on Clear console.

RVO Simulator not listed.

Also to show after I click Clear:

No idea what’s going on…
Does it work if you import it into a new project?

I’ve already mentioned that when I open as a new project, import and local avoidance works fine.

I don’t know what’s in my project that’s causing the RVO Simulator not be available for adding component.

I’m going to delete library and reimport. This will take half a day. Big project.

1 Like