Search Issue Tracker
By Design
Votes
1
Found in
2020.2.0a1
2020.2.3f1
2021.1
2021.2
Issue ID
1313940
Regression
Yes
Assets are reimported when AssetPostprocessor class is renamed
Reproduction steps:
1. Open the user's attached project
2. Navigate to Editor/Folder1 and open TestPostProcessor2 script
3. Change the class name to TestPostProcessor1 (or anything else)
4. Return to Unity and observe the Console window
Expected result: Assets are not reimported
Actual result: Multiple notifications about assets postprocessing are logged (meaning that assets were reimported)
Reproducible with: 2020.2.0a1, 2020.2.5f1, 2021.1.0b7, 2021.2.0a5
Not reproducible with: 2018.4.32f1, 2019.4.20f1, 2020.1.17f1
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
- "Customize handled extensions" part in the External Tools settings tab is not aligned with other properties
- Editor Diagnostics foldouts do not open when clicked on the foldout title
- [UI Builder] Visual Elements are not placed at the mouse cursor position when Absolute Position Placement is enabled
- "Width" and "Height" text is misaligned with slider ends in Screen Match Mode Parameters section of Panel Settings Asset
- Editor does not quit when Editor is not in focus and any floating window is opened
Resolution Note (2021.2.X):
Our Postprocessor hashes are based upon the class name so, whilst moving a Postprocessor shouldn’t trigger a reimport, usually renaming it would. The reason we use the class name rather than the GUID for the Postprocessor hash is that there’s not an easy way to convert from a Type to a GUID, not least because one type can be composed of multiple partial classes, each with their own GUIDs