Re-import because of inconsistencies in the asset database

I’ve got a Windows bluescreen at the same time when I was saving my Unity scene. The projects wasn’t saved before so I assume that it was saving project changes at the same time too, especially that I’ve imported one new asset from the asset store before saving the scene. The bluescreen wasn’t caused by Unity, I was just running too much stuff at the same time and it sometimes happen with my outdated GPU (heavy Unity scene, a lot of Chrome tabs etc.).

After restating the system and opening the project again Unity displayed a message. This is the first time when I saw this specific message. I don’t have a screenshots or exact string of it but it was something like: Unity has found some inconsistencies in the asset database and the project must be imported again.

I’ve clicked continue and it started working. Then it crashed after a while. After opening it again it started thr re-import process (same as when the editor version is upgraded or Library folder is deleted) with all stuff like calculating asset hashes, importing small assets, dlls, compiling scripts, importing textures etc. After the re-import was done I’ve checked if the project is fine and it looks like everything works fine.

I’m using Dropbox so I can see which files was changed. Re-import updated one old dll with API updater (I have no idea why it wasn’t updated before as I’m always using auto API updated when moving to a new Unity version). Generally it changed just few not important files and things like PROJECTNAME.sl and Assembly-UnityScript files but I assume that they are always refreshed when the project is re-imported.

Why am I creating this thread if the project works fine? Because I’ve never seen this message (inconsistencies in the asset database) before and I can’t find any threads/answers about it. I’m wondering why this happened and if it’s possible that it changed something in the project.

Is it possible that scene file was corrupted when the PC crashed while saving the file? Or maybe some project files were corrupted when it crashed while saving them.

One more thing to add is that I’ve imported ProCore ProBuilder Basic from the asset store and created some objects with it before saving the scene. So the project wasn’t saved after importing the package. The first save after importing the package happened when my PC crashed.

I’ve tried to reproduce this situation with other smaller projects (my main project uses 18GB) but I wasn’t able to see this specific message (the one about the inconsistencies in the asset database). I can’t reproduce a system crash that will happen when the scene/project is in the saving process ;). I was trying to delete some Library files, change assets outside of Unity etc. but the projects are always loading fine, without that message.

I’m wondering what is the reason for that message and what happened in my case.

Any input will be much appreciated. Maybe some replies will help other people too as I think that there is no thread about this Unity message yet.

Thanks.

Do you also have ICE creature controller installed 1.3.6, or 1.3.7? I’ve had problems with ICE Creature Controller and Pro Builder, they both cannot be installed, it just crashes unity on importing one or the other. Unity 5.6

I had the same problem. Just started the re-import. It happened out of nowhere. I saved my scene and restarted my computer and when I launched Unity again and tried to open my project, I was hit by this potential nightmare. Can’t recall the exact error message but it was inconsistencies in the asset database. There doesn’t appear to be any other threads talking about this. I’ll advise whether the re import works or if the apocalypse is indeed upon me.

UPDATE :

The full asset re import worked. I almost lost whatever remains of my hair when I finished the 13 hour re import and it started to re import all over again after my first run of the game. However the 2nd re import lasted only a minute or so.

Probably not relevant here, however i’ll mention it. Since this fiasco, my apk is now larger than 100mb even with the split application binary option enabled. I previously did 43 builds with it coming out under 100mb, however now I can no longer update my game until I sort this out. No idea what’s happened to cause this but it’s a massive pain in the ass.

…Upon posting I may have realized. I haven’t set any standardization for setting an automatic texture resolution upon import. So I believe all my textures were probably imported at full res. Wish I had set that up now :frowning:

re-importing the whole 30 GB assets folder just because of “inconsistencies” in some assets is ridiculous
it should be fixed asap

1 Like

We have the same problem, project ius reimporting from strange reasons, for few hours, deletign library folder didnt helped, I dont know how to fix our porject. Anyone found a fix?

Same issue here. This seems to happen to us all of the time with large projects. It’s a bit of a nightmare because it requires several reimports to fix and takes several hours per import for our 90GB project.

yeah. bump it up. just had a BSOD… luckly I have been doing complete backups of all files every couple days… same issue… seems the files that where running during the bsod have triggered the inconsistencies warning. And of course with the little message that says it may take a while… I have yet to see a single pop up or msg during this “re-import all” phase that is currently ongoing…

The biggest thing though I am at hour 19 of reimporting!

I have decided to get a secondary machine loaded up with a backup during this reimport and seeing if I can redo all my 2 days of work before the reimport finishes… hahah the race is on!

update:
After 25 hours now. .I found a little fix. Since I take backups every couple days… I was able to replace the “assetDatabase3.” file with a 2 day old version. … I also installed updated version of unity. and then I copied my project over (bsod version) with the 2 day old database file… project is back where i left off… .whoo hoo!!

update 50 hours now… seems the unity process (13%cpu) has stayed true for the whole time…

I think my backup of my unity project has 67,000+ files / 3.4gigs… definitely not 90gigs…

btw: for the record I only used the backup copy because there was a 10k difference… and I knew I didn’t change any prefabs, just mostly code / minor properties… so all good so far.

Download the attachment first, and open the .reg file inside ‘Enable’ folder. After you opened the .reg file restart your PC. Use the Right Control + Scroll Lock (Scrooll Lock twice) key combination to trigger the BSOD (it’s harmless). To disable, open the .reg file inside the ‘Disable’ folder, restart your PC and it’s done.

5212022–518960–BSOD.zip (1.28 KB)