Hard Crash on scanning (6000.0.67f1)

  • A* version: 5.4.7
  • Unity version: 6000.0.67f1

I have no idea what is going on, but A* seems to crash when I click on the scan button or call AstarPath.Scan()

I can’t produce a log because it hard freezes the editor at the point where new log messages do not get a chance to flush out to editor.log


How to reproduce:

  1. Create a new project
  2. Install A* Pathfinding Project
  3. Create a new empty GameObject
  4. Click on “Add Component”, then type “AstarPath” and add it.
  5. Click on the “Scan” or call AstarPath.Scan() by code.
  6. ???
  7. taskkill /f /im unity.exe

I was unable to reproduce on a fresh project, but I was able to get into an endless “Hold on” screen by doing it in a blank screen instead of my own game scenes.

Um, any ideas?

Already tried uninstalling, deleting all A*-related files and reinstalling.

My project is using IL2CPP, full .NET API Compatibility, no code stripping and does not use any of A*'s compiler directives enabled.

Update: Disabling burst seemed to turn the hard crash into an endless “Hold On”. As for crashing: it didn’t make any difference whether it was on Mono (C#) or IL2CPP.

Even a tiny LayeredGridGraph (default settings, so 10x1x10) takes 3 hours and still didn’t finish.

Nothing was logged (there doesn’t seem to be any errors/exceptions or null references)