Search Issue Tracker
By Design
Votes
2
Found in
2020.2
2021.1.0a9
Issue ID
1298014
Regression
No
"Importer(TextScriptImporter) generated inconsistent result" on importing text file with the same timestamp, same length
"Importer(TextScriptImporter) generated inconsistent result" warning appears when importing new text file with the same timestamp, same length, but different content
How can we reproduce it using the example you attached
1 Open attached project
2 Go to main menu->BUG->MakeIndeterministicImport
Actual results: the warning appears in Console: "Importer(TextScriptImporter) generated inconsistent result for asset(guid:f2a18a74460c64e4d8e7b2fbbe06096d) "Assets/X.txt""
Expected results: importing a new text file with the same timestamp, same length, but different content should be identified as a new file (currently AssetPipeline treats it as the same file )
Reproduces on: 2020.2.0f1, 2021.1.0a9
Not reproduces on: 2020.1.6f1, 2019.4.14f1 - might be that consistency check is not present in these versions
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Errors are logged when importing an asset at a path with Firebase
- Entering too big of a number in 2D Renderer Lightmode Tags freezes the Editor
- Crash on GUIManager::DoGUIEvent when focusing on the Game view window on a specific project
- Asset creation in the Project Browser is not always undone/inconsistent when the undo shortcut is pressed right after creating an asset
- JobTempAlloc memory leak warning is thrown when the Player is shut down
Resolution Note:
This problem occurs because file timestamp on the asset is being manipulated. This is not supported. The asset database relies on the asset file timestamps updating when modified. If asset file is updated on a operation system with a low file timestamp resolution, we have protection from this and support multiple file changes to the same asset during current file timestamp tick.