Hi Aren,
I finally had a little time to debug this and it is being caused by this line in a custom version of the UIImage inspector:
NGUITools.AddWidgetCollider(mButton.gameObject);
If I comment this out, my Sphere Collider stops being destroyed. Here is the problem code:
Line 275 of NGUITools.cs...
if (box == null)
{
if (col != null)
{
if (Application.isPlaying) GameObject.Destroy(col);
else GameObject.DestroyImmediate(col);
}
box = go.AddComponent<BoxCollider>();
}
This says if there is a collider that isn't a box, destroy it. Do you recall why?
Cheers,
- Rafe