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
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
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.