Trust me we never mess up once...it is normaly more than that LOL..albums are a product of editing takes amd mastering......i don't think i have ever met a bass player that has not had a "punch in' on a recording at some point (punching in is a repair to an error by just recording over the error, so you punch in the repair rather than record rhe whole part) or gave a producer multiple takes to choose.
Some producers will use a number of players and ask for multiple takes so they get a different feel from players playing the same idea, then choose the one that fits the track.
But timing comes from knowing what is correct, by honing your sense of timing with a click of sorts, then learning to refrence that click to feel, tempo and timing when you play. It is a skill that is developed as much by listening to good music as opposed to just practice.
You will learn to play what you feel, but you have to have a reference for that feel, in the same way as your timing needs a reference from from a metronome, you have to hear and feel it first in your head before you can translate it under your fingers.