Steps to reproduce:
- Open the attached project
- Select the TestSpriteAtlas asset
- Make any changes in the Inspector window
- Focus another window to trigger the unsaved changes pop-up
- Choose the Discard option when the “Inspector - Unsaved Changes Detected” pop-ups appear
Actual results: The number of “Inspector - Unsaved Changes Detected” pop-up windows is doubled. Due to another case, the unsaved changes pop-up is shown for each Inspector window. When this regression was introduced, the number of pop-ups doubled if the Discard option is picked in each window, resulting in 4 Pop-up windows if the Sprite Atlas was open in 2 Inspector windows
Expected results: The number of “Inspector - Unsaved Changes Detected” pop-up windows is not doubled when picking the Discard option
Reproducible with versions: 6000.6.0a5, 6000.6.0f1, 6000.7.0a6
Not reproducible with versions: 6000.0.83f1, 6000.3.24f1, 6000.5.11f1, 6000.6.0a4
Tested on (OS): macOS 26.6.2
Notes:
- The issue does not reproduce with Sprite assets (the attached video showcases this towards the end)
- The issue does not reproduce when the Sprite Atlas asset is open only in one Inspector window