Has Anyone Had a Pre-approval for a Home Loan and Then Have a Credit Score Change Prior to Closing?

home loan

I was recently pre-approved for a home loan. In the few weeks I was looking for a home, I also bought a car ( my previous one had a breakdown and fixing it was not an option).

Well I bid on a house and it was accepted. Can the fact that I opened a new car loan change my loan amount for the home?I am worried that after all the work I have done to find a home I like, my home loan will be denied because of my car buy.

Has anyone had this situation or a akin one?