Yes, I would check with the vet.
I have a new kitten who sometimes will not use the box, but I think it's because sometimes it does not get cleaned soon enough for him- I think he is pickier than my other 2 cats are. Maybe that could possibly be the problem too? If you are sure that's not it, then definately go to the vet.
Let us know what it turns out to be. Good luck!