Script works in editor, but does not work in build (Android)

I’ve made script that actives or deactives child gameobjects. It works fine in editor but when I build settings and put it on my phone, it doesn’t, just nothing happens. There are no errors in the editor, neither on runtime nor after build is done. I have no clue why. Any possible reasons?

Script: using UnityEngine;using System.Collections;using UnityEngine.UI;public c -

I’d bet this is due to some sort of exception. Put a log visualizer into your project, and scan the log for errors or exceptions.