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
- Frame Debugger is not disabled when switching Scenes if the Frame Debugger window is not open during the transition
- Standalone Profiler Targets another Project if a Standalone Profiler was launched in it before when switching between Edit or Play Mode Targets
- Crash on ForwardRenderLoopJob when opening a specific project
- [Android] Memory leak and eventual crash on Snapdragon 8 Gen 1+ devices when a Clear Pass is executed after Framebuffer Fetch
- PhysicsRaycaster ray length is incorrect when casting from rotated Camera
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.