Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.4.0f1
2018.3.0a1
2019.1.0a1
2019.1.8f1
2019.2.0a1
2019.3.0a1
Issue ID
1168382
Regression
No
AssetModificationProcessor.OnWillSaveAssets() contains an empty array of paths when saving a Scene Asset duplicate
How to reproduce:
1. Open the user-submitted project
2. Save the project to save a Scene in the Assets directory
3. Notice the Console logs
4. Duplicate the Scene and save the project
Expected result: OnWillSaveAssets Console log is sent as in step 3
Actual result: No Console logs are sent
Reproduced with: 2017.4.30f1, 2018.4.4f1, 2019.1.11f1, 2019.2.0b10, 2019.3.0a10
Notes:
Only Scene Assets are affected by this issue.
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note:
Once behaviour of AssetModificationProcessor.OnWillCreateAsset is fixed, it will work as a workaround for this issue.
Link: https://issuetracker.unity3d.com/issues/assetmodificationprocessor-is-not-notified-when-an-asset-is-duplicated