**System Information**
Operating system: Windows-10-10.0.19042-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3080 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 496.49
**Blender Version**
Broken: version: 3.0.1, branch: master, commit date: 2022-01-25 17:19, hash: `rBdc2d18018171`
Worked: (newest version of Blender that worked as expected)
**Short description of error**
If user clears asset in Asset Browser (Right click -> Clear Asset) and quickly after drags asset from the same slot to scene, then Blender crashes every time. Tested on 2 computers.
**Exact steps for others to reproduce the error**
- Open AssetBrowser_DragMaterial_crash_v01.blend
- In Asset Browser -> drag Test_material_A to a sphere object in viewport
- Right click Test_material_A_MAT and select Clear Asset
- Immediately after clearing asset (this must be done very very quickly), drag from exactly same asset slot the new material to sphere object. (Test_material_B_MAT)
- CRASH
- This is reproduceable from any other Asset Slot that is filled with new asset after clearing.
Blender file attached: **AssetBrowser_DragMaterial_crash_v01.blend**
{F12839262}
Note: crash does not happen when Blender is running in IDE with debugger or even when run with script `blender_debug_log.cmd` so probably even with `-d` argument. Tested only on Windows systems so far