You might want to check all your assets, I had a similar thing happen to me.
Try looking for every type of asset that is called the same as the type. For example a material that is called “Material” or a texture that is named " Texture". This can cause this bug for some reason, there are other topics on the forum where this is explained but I can’t find the links now.