Editor calling AssetDatabase.ImportAtPath every 5 seconds

For some reaon my editor has started calling AssetDatabase.ImportAtPath every 5 seconds and it’s driving me insane, as it locks up for a second each time. Doesn’t happen if I reload the scene, but as soon as I edit a script it starts again. Any clue as what could cause this as I’m lost?

1 Like

Hi Bug, We’re facing the exact same issue after importing cinemachine, fmod and using collab. As you can see in your screenshot, it is calling Loading.IDRemapping 204664 times during that hiccup(80000 in my case). I expect the aftermath of this method is causing the extreme lag. I’m currently tracking down which piece of code is remapping the file id so often. It might have something to do with assetbundles or resources.load.

If you are using FMOD, replace the EventManager.cs by the one in version 2.00.05. It’s reloading all banks every 5 seconds in an inefficient way.

4 Likes

I am using FMOD, I will give that a go, thank you!
Edit: You absolute life saver, that did the trick! Thank you!!!

1 Like

Thanks Cambesa!