I had this problem in several versions Now I have this problem in version 2024.3.3
I just cleared the cache and the problem was solved:
File > Invalidate Caches.. > Clear file system cache and Local History (check) > INVALIDATE AND RESTART