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
- Animation Clip with Legacy enabled does not play when Time.timeScale is set to 0 despite Update mode set to "Unscaled time"
- Rename is enabled on subfolder empty space - "Can't rename to empty name" warning
- SamplerState Property Missing Anisotropic Filtering
- Visual glitches when using Handles API
- The RGBA color values are inconsistent when comparing two identical colors set in the Inspector
Add comment