I can speak from my own experience, and that is, I got up to 340 lbs at one point and was diagnosed with Type 2 Diabetes. In my late 30's I began to wet the bed and I had no idea my glucose was completely out of control. Since that diagnosis in 2009, I have gotten down to my current 245 lbs, and I'm actively exercising and watching what I eat. I still wet at night about half the time.
When I was about 100 lbs heavier, I had urge incontinence during the day as well. Since I've lost weight I don't seem to have that issue as much any more. For me, the extra weight was causing me to experience urge incontinence symptoms.
If you are experiencing incontinence I can't encourage you enough to talk to your doctor and make sure you're being taken care of from a medical standpoint! I wish you nothing but the best!