Unity closes when I try to remove the the missing scripts Unity 2022.3.17 & 2022.3.20

Unity crashed immediately (Closes) when I tried to remove the missing scripts, I recently imported the Animation Rigging to my project and did some setups but after a while, I decided to delete a component (Bone Renderer), and Unity crashed, and nothing happened. I deleted the whole Animation Rigging package didn’t help, also I wrote a custom Editor tool for deleting missing components but I got the same Result. Unity HDRP 2022.3.20.

it may not be a bug and my project is broken How can I fix it? do you have any tips?
Also I couldn’t find any report in editor log

Reimport All Assets Fixed the Issue