Steps to reproduce:
1. Create new Unity project
2. Create Cube GameObject in the Hierarchy window
3. Drag the Cube GameObject from Hierarchy window to Project window to create a Prefab
4. Drag the Cube Prefab GameObject from Hierarchy window to Project window
5. In pop-up window press "Prefab Variant"
6. Observe the Editor
Actual results: Editor crashes when creating Prefab Variant
Expected results: Editor doesn't crash when creating Prefab Variant
Reproducible with versions: 2021.3.44f1
Not reproducible with versions: 2021.3.43f1
Tested on (OS): Ubuntu 20.04
Notes: could not reproduce the crash on MacBook Pro, 2021 or Windows 11