Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • 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
5
Question by brycem24 · Oct 22, 2014 at 08:46 PM · guibuttoneventsystemunity 4.6beta

Unity 4.6 Button is not working.

Hi, this seems to be a continuation of an old question I had but it was never answered. The way I fixed it originally was by replacing the buttons in my scene and adding new ones but even this time it is not working. I have a NPC with a chatbox (button which you can click to make the text proceed) and another canvas as a Store with 6 buttons as children which when you press it calls some functions when it is clicked. But the problem is that this was working originally but I had switched scenes and now the Store's buttons cannot be pressed. I believe the issue has something to do with Event Systems, but the oddest things are that the store works fine in the other scene and that the chatbox button can still be pressed.

Comment
Add comment
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

5 Replies

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

Answer by brycem24 · Oct 22, 2014 at 08:51 PM

Fixed it! The Canvas' are World Space and I did not have a camera selected so the buttons wouldn't get pressed.

Comment
Add comment · Show 6 · 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 Nsingh13 · Jan 06, 2015 at 06:01 AM 0
Share

Thank YOU!

avatar image Trungdv · Mar 10, 2015 at 11:48 AM 0
Share

You saved my day, thanks very much!

avatar image ryanjokuti · Mar 10, 2015 at 11:49 PM 0
Share

Thank you so much! :D

avatar image karel.pfeifer · Jun 15, 2015 at 11:20 AM 0
Share

Finally! Thank you!

avatar image pi_r · Aug 20, 2015 at 09:01 AM 0
Share

Indeed! (: Thank you!

Show more comments
avatar image
8

Answer by casanueva · Jul 07, 2015 at 07:27 AM

Hello!

I think this is relatable, but i noticed that you have to have Event System present to if your buttons are to work. Just wanted to mention it.

Comment
Add comment · Show 1 · 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 Kimi073 · Feb 05, 2016 at 08:04 AM 0
Share

I think this answer is right too. Should this be used with the best answer to fix the problem if one another cant

avatar image
3

Answer by paulmac · Aug 08, 2015 at 10:24 AM

Yep i needed the event system also

Comment
Add comment · 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
1

Answer by MazeTard · Dec 06, 2015 at 08:59 PM

I have both the camera selected for my canvas, aswell as an Event System in the hierachy, still not working.

Comment
Add comment · 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
1

Answer by pako · Dec 06, 2015 at 09:02 PM

@MazeTard please don't post your comments as a new answer. Same goes for @casanueva and @paulmac, even though your comments are a few months old.

Comment
Add comment · 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

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.

Follow this Question

Answers Answers and Comments

35 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

UI: Mouse events not working 1 Answer

New UI buttons not working on top of screen on iOS devices. 3 Answers

How to trigger a button click from script 3 Answers

Unity 4.6 ui scroll rect won't show up in fullscreen 1 Answer

How do you highlight/select a button upon mouse enter and keep it moused over upon mouse exit? -2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges