Search Issue Tracker
By Design
Votes
0
Found in
4.3.0a3
Issue ID
557575
Regression
No
Calling DestroyImmediate from an AssetPostprocessor
Calling DestroyImmediate from an AssetPostprocessor
We have had some reports from users saying that calling DestroyImmediate during asset postprocessing crashes the editor. We have not been able to reproduce a crash, but in some cases the behaviour is confusing:
1. calling DestroyImmediate on a random asset (other than the one associated with the current asset postprocessor's assetImporter) leaves the asset in an unusable state (AssetDatabase returns null, but asset remains in project browser and can be fixed back to normal state by calling ReimportAll)
2. calling DestroyImmediate on an asset being postprocessed doesn't seem to destroy the asset permanently
to repro 1 - open attached project, reimport asset "menu_close.wav"
to repro 2 - open attached project, reimport asset "menu_open.wav"
( use reimport all to revert the asset back to testable state)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
- Burst Inspector middle divider is jittering when resized with the Burst Inspector window docked
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
- Different text alignment in the column header in Entities "System" window
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
Add comment