Touch/Mouse no longer working after build

For some reason, everytime I build my project, my touch and mouse input no longer works and I have to restart Unity to get it back.
This carries over to the build however, rendering the build unusable.

The code is not the issue, neither is the project.

https://drive.google.com/file/d/0B5VUJafJTcfJejdQWGZHS2dtbWs/edit?usp=sharing

That is a link to a very basic, near empty project that is pretty much just mouse/input test. It works fine until I make a build, then all input fails. The build doesnt even have to succeed, doing an android build that fails due to the keystore or something still destroys all the mouse/touch.

web build seems to be fine, so perhaps its only when building to devices.

Tested with Windows Phone and Android, both fail. But web build works.

can someone please test my project? I need to know if its my unity or not so I can figure out how to fix this. Really holding up the release of my game :frowning:

I’ll give it a test, I have a Windows Phone here.

I need to know what version of Unity you are using, and which WP8 device where you trying it on?

Not tried it on a phone yet but if you take out the IF definition it works fine as a standalone build.

//#if UNITY_EDITOR
        void OnMouseUp()
        {
            OnTouchUp();
        }
        void OnMouseDown()
        {
            OnTouchDown();
        }
    //#endif

hmm, doing that fixed the problem, but I dont know why…