problem with Text UI when debugging on android

So basicaly this is the line that is causeing problems:

LivesToBeShown = dummy.GetComponent

This line is unreliable:

LivesToBeShown = dummy.GetComponent(); 

Try changing it to :

LivesToBeShown = dummy.GetComponent<Text>();