Reproduction steps:
1. Open the attached “Repro“ project
2. Select the “Assets/UI Toolkit/Style Sheets/SFCommon.uss“ file in the Project window
3. Duplicate the item (Ctrl + D)
4. Observe the Console
5. Edit the duplicated USS Asset and save it
6. Observe the Console
Expected result: OnWillSaveAssets is logged again
Actual result: OnWillSaveAssets is not being called, thus it is not logged
Reproducible with: 2021.3.39f1, 2022.3.32f1, 6000.0.5f1
Not reproducible with:
Reproducible on: M1 MacOS 14.4.1
Not reproducible on: No other environment tested