Multiple PRs must be backported to fix this for 2021.3 which is very risky
Reproduction steps:
1. Open project “Havoc_test_01.zip”
2. Open “SampleScene”
3. Right-click on the “Astrid_merge_01.psb” file in the Project window
4. Click Reimport
5. Observe the crash