Weirdest PROBLEM EVAR?!?!

Ok so this is confusing me beyond belief!

I have made a part of a game in Unity iPhone
and when I test it with my 16gb iPod Touch, through unities unity Remote
It works perfectly all the animations play. The doors open and close, and all is good.

But when I Build and Run it, it only works partially on my iPod as an actual app
Everything seems to play except one script
which does play, but temperamentally.

For example, in my game I need my roof to disappear when my char walks into a building
so i did this with an if statement, saying that if the player hits the floor of that particular room, the roof must disappear
which it does…
in the editor
whilst using the unity remote

however when I do this on my iPod
it only does it sometimes like for some reason its completely random

WHY is this happening?!

It doubt it’s weird. Put some logging statements in your logic and watch it in the xCode console.