- Home /
UI Button not sending event on IOS build only
We finished our game recently but we haven't been able to publish on the app store because of this small but important bug. The play button we use for moving from our scene menu to our scene game is working both in the editor and on android but not on IOS.
We already tried removing the event system and recreating it without success and we trie replacing the button script by a toggle.
Did you manage to solve this? Having similar issues with buttons not working on iOS...
There is a similar bug on windows at the moment. If you play standalone full screen, the collision boxes of some buttons may be wrong. Possibly this is the same bug on IOS? In the windows bug, you can activate the button by clicking to the left side of it.
Answer by darasan · Aug 25, 2015 at 08:21 PM
It turns out my issue was caused by a bug in IL2CPP on iOS (I switched to this from Mono recently). Calling SendMessage() for buttons won't work on iOS.
$$anonymous$$ake your method (e.g. LoadGameScene) public and then assign it from the drop-down menu on the button. GameController_Script->LoadGameScene().