we had a similar problem with an A that we use to own. Our bathroom had the same issue. A urine smell. After the DW scrubbed and scrubbed;the smell remained.
I thought that the seal on the toilet was bad. upon removal, the seal that was suspect was found to be good.
Well one thing led to another and we decided that since the toilet was removed. We would change out the floor covering and installed new.
That of course meant removing the bathroom vanity (which was next to the toilet.
Well we install the new flooring. I went into the garage where I had stored the vanity, walking in, I smelled urine stink, at first I suspected one of the animals(pet) had peed.
When I went to picked up vanity the odor of urine was really strong.
We realized that the smell was in the cabinetry it self.
we replaced that vanity with a new one and the urine smell is gone.
Hope it helps
"You never fail until you stop trying!!"
My advice is free but I do consider donations