There are no real steps to reproduce this issue, as it is based on timing.
Unity can crash during a domain reload if a merge operation is currently ongoing. This is because we release all native resources, such as the LMDB database, when the OnDisable is called, which happens before threads are stopped.
Steps to reproduce:
- Open Unity
- Start an indexing operation.
- Wait until the background progress says "Merging artifacts...".
- Trigger a domain reload.
Actual results:
Unity crashes.
Expected results:
No crashes.
Reproducible with versions: 6000.3.0b1, 6000.4.0a1
Not reproducible with versions:
Can’t test with versions:
Tested on (OS): Windows 11
Notes: