There are 2 possible reasons for the smell.
One there may be a leakage in the car, check that footwells and floor coverings are dry.
I had this same issue with a BMW, the issue arises from bacteria in the A/C unit.
The bacteria form and smell when warm, when the A/C is turned on it stops the bacteria smelling.
There is a spray available, spray it into the air intake for the A/C with the pollen filter removed.
BMW actually did this for me and resolved the smell.
Hope this info helps.