Search Issue Tracker
By Design
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
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
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.