It's all the problem of the word 'tone'.
Tone as in sound, as in what makes you sound like you.
It's a mix of gear, obviously, a Jazz bass sounds like a jazz bass, and a P bass sounds like one of them, a fretless sounds like a fretless and Stingray sounds like it does.
Then comes the hard to define part of what really makes you sound like you, the articulation in your playing. That's how you play, the force that you strike the string with, the angle that you engage it with, the part of the finger that makes contact with the string, whereabouts on the bass you pluck etc.
All of these little things add up into a whole lot. Which is why you sound like you, albeit playing a Stingray, a jazz, a P or whatever.
How many guys back in the 80s went running out and bought a JD bass, a Trace Elliot amp and whatever strings. Hoping in vain to sound like Mark King ?
Of course most didn't, they sounded nothing like him, because there's a whole lot more to 'your sound', or 'his sound', than just the gear, and without really examining a players real style, and also examining your own, you're not going to get there.