I encountered this weird behaviour. I am trying to apply some shaders which i hold inside children of a GameObject with the following code:
int lastActiv