How to reproduce:
1. Open the attached project "Undo.zip"
2. Open the "SampleScene" Scene
3. Open the "New VFX" Visual Effect Graph in the Assets folder
4. Change the Capacity value of the "Initialize Particle" Context Block
5. Press ("Command + Z") to undo the change
6. Press ("Command + Shift + Z") to redo the change
7. Repeat Steps 5 and 6 a couple of times
Expected result: No errors are thrown in the Console window
Actual result: Assertion failed on expression: '!AssetDatabase::IsAssetDatabaseInitialized() || !AssetDatabase::IsAssetImporting()' error is thrown
Reproducible with: 2021.1.0a12, 2022.1.0f1, 2022.2.0a11
Not reproducible with: 2019.4.37f1, 2020.3.33f1, 2021.2.19f1, 2021.3.0f1, 2022.1.0a11
Couldn't test with: 2022.2.0a12 - Redo action shortcut doesn't work