Personally I think it's important to learn your major and minor scales. This will help you build bass lines and improvise.
You will also "find" riffs that you recognise which, in turn, will help you develop your own style.
Perseverance is important when you are learning anything.
Think of learning bass like juggling - neither will come to you if you don't persevere or practice.