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
- [RenderGraph] [CameraStacking] Passes are failing when CameraStacking and RG are enabled
- Physics and Raycast have different behavior when enum is exposed in the Editor
- TextField's text is mixed up and overlapping when "Noto Sans-Display" font is used
- TutorialManager Warnings are thrown when creating Test Track, LEGO or 2D Platform microgame template projects
- Incorrect ScrollToItem behavior when called on a deattached ListView
Add comment