Reproduction steps:
1. Open the attached project "CrashRepro"
2. Click on “Assets/IgnoreThis/V2_Test/TestScript1.asset“ to make it visible in the Inspector window
3. Open the “WINDOW“ window (Window > NAME > Script Editor)
4. Change “Text 2“, “Text 1“, and “Text 3“ values to “asd“ (can be anything)
5. If it doesn't crash repeat step 4 a few times
Expected result: “Text 2“, “Text 1“, and “Text 3“ values are changed
Actual result: Editor crashes
Reproducible with: 2022.3.13f1, 2022.3.31f1, 2023.1.0a18, 6000.0.6f1
Not reproducible with: 2021.3.39f1, 2022.3.6f1, 2023.1.0a17
Couldn’t test with: 2022.3.7f1-2022.3.12f1 (Missing default layout error when opening project)
Reproducible on: Windows 10
Not reproducible on: macOS Sonoma 14.5
Note: step 4 seems to crash more consistently when appending text instead of changing it
First few lines of stack trace: