Reproduction steps:
- Open attached project "SpriteIssues.zip" and scene "BaseBattleWorld_ProperUnits"
- In Hierarchy window, select "Enemy Warlock" -> "Troop_Enemy_Warlock" -> "Walk VFX"
- Observe Console window
- In Inspector window, while still selecting the same GameObject, select Particle System -> Shape -> Texture
- Assign the same Asset - "Assets -> Prefabs -> Troops -> VFX Particle"
- Observe Console window
- Reopen the project
- Repeat steps 2-3
Expected result: No error throughout any of the steps
Actual result: "NullReferenceException" and "GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced." errors initially, and after entering-exiting play mode again
Reproducible with: 2022.2.0a4, 2022.2.0b4, 2023.1.0a6
Not reproducible with: 2021.3.8f1, 2022.1.13f1, 2022.2.0a3
Could not test with: 2020.3.38f1 (project breaks)
Reproduced on: Windows 10