Search Issue Tracker
Active
Under Consideration for 6000.5.X
Votes
0
Found in
6000.0.67f1
6000.3.8f1
6000.4.0b8
6000.5.0a6
Issue ID
UUM-134363
Regression
Yes
OnPreprocessAsset is not triggered when AssetPostprocessor version is changed and script recompiles
Reproduction steps:
1. Open the attached “IN-132333” project
2. Duplicate the “New Text Document” Asset in the Project window
3. Observe the Console window
4. A log is printed from “AssetPostprocessor.OnPreprocessAsset” for the duplicated text asset
5. Open the “Editor/MyModelPostprocessor” Script in an IDE
6. Increment the “k_Version” value and save
7. Focus back to the Editor to let it recompile
8. Observe the Console window
Actual result: “OnPreprocessAsset” is not invoked and no logs are printed out
Expected result: “OnPreprocessAsset” is invoked and a log regarding the “Editor/MyModelPostprocessor” change is printed
Reproducible with: 2023.2.0a17 (0c0af4eccc76), 6000.0.67f1, 6000.3.8f1, 6000.4.0b8, 6000.5.0a6
Not reproducible with: 2023.2.0a16 (bf93f668ecf4)
Reproducible on: Windows 11
Not reproducible on: No other environments tested
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Sprite texture is null when read from a SpriteAtlas in an Addressables bundle
- Scrolling in the Tile Palette Brush Pick overlay breaks when a lot of Brushes are saved and the List View is enabled
- OnPreprocessAsset is not triggered when AssetPostprocessor version is changed and script recompiles
- Terrain Component and Overlay Text Rendering is broken when using Bitmap Text Rendering Mode
- “No Overlays” Overlay overlaps with the Tile Palette toolbar when docked on the left
Add comment