Importer(MonoImporter) generated inconsistent result for asset

Yes, but in my experience, it’s only temporary. And “Reimport All” is essentially an overnight process, so I don’t want to do that too often.

I have this issue in my project.
Deleting Library or Reimporting doesn’t work. I’ve also tried deleting the prefab and making it again and still the same result.
Is there a way of disabling the check for inconsistencies?

I have tried in versions 2021.1.24f1. 2021.2.15f1 and 20213.3f1

@bome99 do you have any post processors or other code that could be modifying the asset after or during the import?

Currently there isn’t a way to disable the consistency checker.

Also happens in 2021.3.4f1
Importer(TextureImporter) generated inconsistent result for asset(guid:a91454a58f6257d4396ab45a166d7d43) "Assets/Plugins/TextMesh Pro/ResourcesCompat/TMPro/Sprites/items_icons_2.png"
If I rename it to items_icons_3.png, the error disappears. I tried disabling Accelerator, with no luck

@thefallengamesstudio next time it happens, would you be able to use binary2text on the imported artifact? This should help us figure out what the difference is and hopefully give us an idea of what could be causing it.

The debugging section here should help Unity - Manual: Importer Consistency

I got those errors on blender files ( through fbx importer on 2022.1.0f1

I uninstall it and give a try to 2022.1.6f1 ( as am unable to connect to update server… )

it is bad IMHO that unity raises such error with so few information:
<< i imported your model but it is broken >>
And now what ?
U3D should say more about what is broken ! mostly because user can do nothing inside U3D to solve the problem :wink:

strange…

editing and saving the model with blender and importing to 2022.1.6 works with no error.
R-click on the file in project and choosing reimport raises the error…
Looks like it is some bug^^

After upgrading from 2021 to Unity 2022.1.7, we get this warning upon reimporting any .asset file (mostly ScriptableObjects).

ConsistencyChecker - guid: 216cf4e0e65a6fb4381c1bd92fb77c16, dependenciesHash.value: 298d625d893d1456edfa6bcc84359056, artifactid: e8293c57d11b048c0caf20d11f36de77, producedFiles[0].extension: , producedFiles[0].contentHash: 2025297025472bc430e2ff167b5567c0```

The contentHash is always the same pair of values even for different ScriptableObjects.
The two binary files differ, but running it through binary2text gave the same output text.
I attached the 4 files if that is any help.

[8244660--1078473--importer results.zip|attachment](upload://6u6cZcUhhPuoVGzZF3BSZ9KlLLZ.zip) (2.79 KB)

Still have this behaviour on Reimport, in Unity 2021.3.9f1.

Just had this issue as well, is there any fix or do I have to delete and remake?

Oh yeah, I also have this 2022.1.17

Unity 2021.3.16 constantly getting this when reimporting blend files.

I get the following warning in my environment(Windows Unity 2021.3.18f1)
“Importer(TextScriptImporter) generated inconsistent result for asset”

Please be more specific about what information is used to obtain the guid, and what changes will cause the guid to change.
Are CreationTime, LastWriteTime, LastAccessTime, etc. of the file used as well as the file path?

What is written below is too abstract

It does not help to solve the problem of why the guid has changed.

I’m running into these warnings in Unity 2022.2.8

It only started appearing AFTER I used the right-click > Reimport option, which I did because some scripts weren’t compiling/Unity wasn’t recognizing some of them as MonoBehaviours after moving them to different folders.

The Reimport option seems to have fixed the MonoBehaviour issue but now it just keeps giving me the warnings at runtime. For example:

Importer(DefaultImporter) generated inconsistent result for asset(guid:97aba4f7524399e4795d2cecbb1c7efb) "Assets/Scripts/Foundation/Pickup"

I tried more recent versions but they were a little too crashy to continue developing in so I rolled back to the last known non-crashy one.

This bug is still in Unity version: 2022.3.1f1 (Android platform)
I test that windows platform is correct at the same Unity version.

The BUG is: “Reimport” and “Reimport All” has generated inconsistent result.

The worst problem is that if you use the AssetBundle system, the inconsistent result will lead to different bundle file. (Generate md5 use the bundle file content)

THE ONLY WAY I FOUND TO AVOID BUNDLE UNEXPECTED CHANGE:
Every time to build the AssetBundle, you can reimport all assets in the project.

Wanted to add my own experience as well - after reinstalling windows on my desktop and pulling the same project (.meta files included) from my git repo, I get inconsistent results between Reimport and Reimport All, particularly for .blend files, but also for some shaders. Reimport All seems to not help and broken things are still broken, while Reimport on individual files one by one seems to assign a new guid and fix it. Not exactly very fun to do when you have a lot of blender files… Unity version is 2021.2.7f1

hello we have exactly the same issue but the ReImport All solution did not fix it.
we are using 2022.2.2f1.
can you tell us more what you did? are you using addressables for a live game?
thanks a lot for sharing this and for your help!

In Unity 2023.2.9f1, I’m still getting this warning message, and weirdly, one of the asset is just a folder:

Importer(DefaultImporter) generated inconsistent result for asset(guid:cd02cc5b4cc6947489c037e939f294ec) “Assets/Games/Legions Of Hell/Prefabs/Tiles/Animations/Book”

…with no assets in this folder that is issuing any warning.

It seems to be just a very buggy check, producing annoying warnings that seems to be unrelated to the assets mentioned, just polluting the log.

just passing by I have this error by using testMeshPro. unity 6000.0.23f1

Importer(NativeFormatImporter) generated inconsistent result for asset(guid:98b3e91470038cb4c86db7d272701757) "Assets/Fonts/NotoSansJP-Regular SDF.asset"
UnityEditor.AssetDatabase:ImportAsset (string)
TMPro.TMP_EditorResourceManager:DoPostRenderUpdates () (at ./Library/PackageCache/com.unity.ugui/Editor/TMP/TMP_EditorResourceManager.cs:263)
TMPro.TMP_EditorResourceManager:OnEndOfFrame (UnityEngine.Rendering.ScriptableRenderContext,System.Collections.Generic.List`1<UnityEngine.Camera>) (at ./Library/PackageCache/com.unity.ugui/Editor/TMP/TMP_EditorResourceManager.cs:108)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Importer(NativeFormatImporter) generated inconsistent result for asset(guid:de1f493f389751c4589226af9985774b)

I have the same issue using TMP. Unity 6000.0.30f1

In ECS, this warning causes the subscene to be reloaded.