Search Issue Tracker




Found in


Issue ID




AssetModificationProcessor is not notified when an asset is duplicated

Scene Management



Priority: 7Not yet prioritized for a release


Severity: 3Workaround is possible

Steps to reproduce:
1. Open user attached project
2. Create any type of asset (a Material for instance) in the assets
3. Notice the console logged the creation of the asset file and the creation of the associated meta file
4. Duplicate an asset
5. Notice nothing is logged in the console, AssetModificationProcessor.OnWillCreateAsset is not called

Expected result: AssetModificationProcessor.OnWillCreateAsset is called when duplicating an asset
Actual result: AssetModificationProcessor.OnWillCreateAsset is not called when duplicating an asset

Reproduced in: 2017.3.0a7, 2017.2.0b11, 2017.1.1p1, 5.6.3p3, 5.5.4p4

Comments (1)

  1. C2778d4182b1b39798b1e8e74dd2e143?d=mm


    Oct 18, 2017 17:31

    I have this issue too, it's pretty annoying trying to keep an asset manifest.

    As a workaround, I used OnWillSaveAssets and wait for the asset to be saved, but this is not a good enough solution because the OnWillSaveAssets could be called ages into the future. Any ideas on how to fix it until Unity get's around to it?

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.