From where the error is occurring it seems like UIControl is a singleton that has not been initialized. If you're getting this in play mode in the editor, make sure the scene you are testing has one.
thanks for reply. I did like this before.
private void Awake(){Instance = this;}