Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 /
  • Help Room /
avatar image
0
Question by Wtfn · Oct 16, 2016 at 01:12 AM · buttonrandomnot working

Buttons Don't always work.

Re posting this because the one I just posted was on moderator approval wait for like 2 hours, idk if it will go through.

I have a math game where a question is at the top of the screen on the camera canvas and 3 answers (1 right, 2 wrong) are on a world canvas in front of a background. The answers have a buttoned child'd to each one (one has it set to the correct answer func, the other two go to a wrong answer func) and sized up properly. During Runtime the buttons randomly decide not to work sometimes. I haven't been able to find any pattern in when they don't work, it just randomly doesn't register me clicking them. I exported to mobile and it has the same problem. Note: This also happens in the editor. Nothing in the scene has any colliders on it.

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

2 Replies

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

Answer by Wtfn · Oct 16, 2016 at 01:40 AM

Note that I'm using Unity 4, the latest version. I have a windows xp laptop so Unity 5 doesn't run on it.

Edit: I needed to resize the text element the button was parented to because when they were randomly placed on my world canvas and enlarged over time they overlapped other buttons causing them to be unclickable.

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
0

Answer by TangoNation · Oct 16, 2016 at 01:31 AM

Does it happen when you build the game and run that? One of my projects was like this with the buttons and sliders but it worked fine when I built it and ran it.

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 Wtfn · Oct 16, 2016 at 01:37 AM 0
Share

Both In the editor and when built

avatar image Wtfn · Oct 16, 2016 at 01:44 AM 0
Share

I just had an Idea, Gimme a $$anonymous$$ to try it.

avatar image Wtfn · Oct 16, 2016 at 01:47 AM 0
Share

Its because there are multiple buttons overlapping lmao. Well time to fix this.

avatar image Wtfn · Oct 16, 2016 at 01:50 AM 0
Share

So the actual border of the numbers are also hindering it, wonderfull.

avatar image TangoNation Wtfn · Oct 16, 2016 at 01:53 AM 0
Share

Fixed then? :)

avatar image Wtfn TangoNation · Oct 16, 2016 at 01:55 AM 0
Share

yep I got it fixed.

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

85 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 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 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 Buttons Will Not Work After Building,UI Buttons do not work 0 Answers

Someone Can Help me with this? Get scene id to load in prox level 0 Answers

Help with Randomized Sprite on GUI button click 0 Answers

Adventure Creator Unity UI not working,Im using adventure creator and when I use the unity UI for the options menu it just wont work 0 Answers

How to set proper animation to prefabs randomly instantiated? 1 Answer


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