Fully understood!
This is where scales and melodies and scales and bass players have to go to different sides of the room.
If you were a noodle-y guitar player playing solos or coming up with a melody, the simple approach to play something nice over that chord progression would be:
Play things that you think sound good using just the C major pentatonic scale.
It wouldn’t sound perfect all the time (you’d still miss the F, for example) but it would sound over all very good - as a melody - over those chords, and you’d avoid hitting really bad, sour notes.
But!
You’re a bassist.
So for us, we can’t drop something light and shimmery over the top of the structure that will be shiny and nice, but has no real connection to the structure of the song.
You have to start at the bottom - the foundation.
So your bass line has to start with root notes on each of those chords.
Once you know the root pattern and can keep it perfectly and have a nice groove going, if you’re looking for other notes to add, the other notes have to fit inside each chord you’re on.
Unlike the guitarist/melody maker (who can ignore the underlying structure a bit so long as their notes sound nice and connect to the melody and key), all of the bass notes have to connect to the structure, which is the chords.
So the notes you play during the “C” part of the playalong have to connect to C.
If you’re adding pentatonic scales to embellish the bass line, the scale has to align to the type of chord. So, if it’s a C major chord you’re playing to, the bass line should be based around the C root note, and you can add notes from the C major pentatonic.
For the next chord, your entire world shifts, because the foundation is building from a new sound: the A minor.
You have to move to the A root note. If you want to embellish the bass line with a pentatonic scale, you have to add the notes from A minor pentatonic - because that’s the sound that matches the chord.
When you move to F, you have to move the bass to the F root note.
If you want to embellish the bass line during the F chord, you should use the F major pentatonic scale.
Same for G (starting from a G root, and using the G major pentatonic scale).
Using that basic guideline will give you a good bass line, will use scales appropriately, and will - hopefully - explain why you can’t just play C major pentatonic the entire time as a bass player.
Lemme know if this helps!
This is such a common and confusing thing, and I have been on a quest to try and make this more understandable lately with my writing and students!!
Best of luck to you!