Steps to reproduce:
- Create a new URP project
- In the Hierarchy, right-click and select UI Toolkit > Standard Elements > Visual Element
- Observe UI Viewport and Style Sheets windows open
- In the Style Sheets window, create a new selector (with a new StyleSheet)
- Drag the selector onto the Visual Element
- Save (Cmd+S)
- Click Undo twice (Cmd+Z)
- Observe the Console and Style Sheets window
Actual results: "SelectorAccelerationCache: ee (entityId=25916:768) has changed but change was not notified to SelectorAccelerationCache, please report a bug. Previous hash 480775826, new hash=-1690491964" error is thrown and Style Sheets window does not show the created StyleSheet anymore
Expected results: no errors are thrown
Reproducible with versions: 6000.6.0b1, 6000.7.0a1
Can’t test with versions: 6000.4.12f1, 6000.5.1f1 (uxml editing In Context not available)
Tested on (OS): macOS 26.5