• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by ZeLemon · Aug 11, 2015 at 03:37 PM · uiiosbuttoneventsystem

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.

alt text

capture.png (42.1 kB)
Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image darasan · Aug 22, 2015 at 06:31 PM 0
Share

Did you manage to solve this? Having similar issues with buttons not working on iOS...

avatar image paulgaze · Aug 23, 2015 at 01:48 AM 0
Share

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.

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

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.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image ZeLemon · Sep 01, 2015 at 01:50 AM 0
Share

How do you call a method without using send message

avatar image darasan · Sep 01, 2015 at 08:45 AM 0
Share

$$anonymous$$ake your method (e.g. LoadGameScene) public and then assign it from the drop-down menu on the button. GameController_Script->LoadGameScene().

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

UI Button onclick not detected 0 Answers

Holding down UI Button and shooting raycast from touch position doesn't work simultaneously:(( 0 Answers

UI Element Got & Lost Focus Handling 2 Answers

Selecting a selectable using script doesn't seem to work anymore? 0 Answers

Button is not being clicked. 1 Answer

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges