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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
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.