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
- Baked GI loaded by LoadScene call with Additive mode is not cleaned up when unloading the Scene
- "Reflection Probe" borders disappear when interacting with the UI in the Inspector and one of the Reflection Probe editing tools is selected during the Baking process
- RenderGraph ContextData buffer leaks in IL2CPP when using Native Leak Detection
- Caret in "Add Default Preset" text field is vertically misaligned in Preset Manager
- Unused separation line is present at the bottom of the create GameObject sub menu when right clicking Scene in the Hierarchy
Add comment