Search Issue Tracker
By Design
By Design in 6000.0.X
Votes
0
Found in
2023.2.17f1
6000.0.0b14
Issue ID
UUM-69265
Regression
Yes
"AssetPostprocessor.OnPreprocessAsset" is not invoked for scripts or DLLs
Reproduction steps:
1. Open the attached project “ReproProject”
2. In the Project folder, locate the “Assets/Plugins/steam_api64.dll” file
3. Right-click on the mouse and Hit Reimport
4. Observe the Console Window
Expected result: “OnPreprocessAsset” and “OnPostProcessAllAssets” are displayed
Actual result: Only “OnPostProcessAllAssets” is displayed
Reproducible with: 2023.2.0a17, 2023.2.17f1, 6000.0.0b14
Not reproducible with: 2021.3.37f1, 2022.3.23f1, 2023.2.0a16
Reproduced on: Windows 11 23H2 (22631.3007), macOS 14.3.1 23D60 Darwin 23.3.0 (user’s)
Not reproduced on: No other environment tested
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
- 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
Resolution Note:
This is by design - scripts are no longer imported and if clients need to know if a script or a library has changed they need to use OnPostprocessAllAssets callback.
Resolution Note (6000.0.X):
This is by design - scripts are no longer imported and if clients need to know if a script or a library has changed they need to use OnPostprocessAllAssets callback.