Search Issue Tracker
Fixed in 2020.2.X
Votes
0
Found in
2019.3
2019.3.8f1
2020.1
2020.2
Issue ID
1243106
Regression
No
AssetPostprocessor cannot reliably use DependsOnSourceAsset(), causing incorrect reimport of assets
How to reproduce:
1. Open the attached TextureReImportTest.zip project
2. In the Project pane, right-click on Assets and select Reimport All
Actual: In the Console Pane, note the output that BarebonesImportConfiguration.asset has failed to load, but import continues anyway
4. In the Project pane, right-click on the Assets/Textures folder and select Reimport
5. After the import, look in the Console pane. Note that this time the output is "BarebonesImportConfiguration.asset has loaded correctly" (inconsistent behavior)
7. In the Project pane, select Assets/Configurations/BarebonesImportConfiguration.asset
8. Toggle the Default Import Settings checkbox and save. Note that the dependency is correctly detected and re-import commences
9. Toggle Default Import Settings again and save
Actual: Note that this time the dependency is NOT detected (incorrect behavior)
10. Edit the file Assets/Scripts/BreakTheTextures.cs
11. Uncomment line 10 that says "broken!" and save
12. Go back to the editor and note the script error
13. Open Task Manager and end-task Unity (simulating an editor crash)
14. Re-open the project.
Actual: Note that the textures are re-importing even though no texture settings have changed
Reproducible with: 2018.4.23f1, 2019.314f1, 2020.10b9, 2020.2.0a11
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment