Some pedals track much better than others. Digital octavers track better than analogue in the main, but digital ones usually have a bit of latency compared to analogue.
There are certain common dead spots on Fender-style basses, with C-Eb on the G string being the worst offenders; these cause tracking to be fairly iffy.
The best-tracking analogue octavers I’ve tried are the MXR Vintage Bass Octave and Bass Octave Deluxe; Red Witch Zeus was also pretty close.