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
- Popup windows spawn on the incorrect monitor when the Editor is placed near the boundary of scaled monitor next to a monitor with different scaling
- Hidden Tabs do not shift into empty space after closing visible Tabs
- [Android] Application not deployed on a device when "activity-alias" is used in the AndroidManifest
- Shader compile process adds shader ID to the constant buffer name when the word "Globals" is being used in Vulkan
- Audio Mixer Snapshot link to the documentation isn’t working
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