• 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 /
This post has been wikified, any user with enough reputation can edit it.
avatar image
Question by LeonardChallis · Apr 17, 2013 at 08:50 PM · buginspectorosx

When I try change a script var value in inspector it switches to box collider field. Is it a bug?

My apologies if t$$anonymous$$s is asked elsewhere - I have searched but I'm sure my searc$$anonymous$$ng isn't up to scratch just yet - started learning about unity t$$anonymous$$s week and quickly falling in love! I'm following the Unity Jump Start videos and although they're basic it's a great start. I've made my player script and attached it to the player object (simply cube) and went ahead to change the lives variable in the inspector, but whenever I do it switches me to the collider Y access input box.

Here's a video: http://www.youtube.com/watch?v=G2WslGuwYGI

I'm using Unity 4.1.2f1 on OSX 10.8.3. I also don't have a mouse - just the built in MacBook Air TouchPad.

Comment
Loius

People who like this

1 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 iwaldrop · Apr 18, 2013 at 04:41 AM 0
Share

That does seem strange. My first reaction is that you've set your script to execute in edit mode and you set the collider center y value to your the lives value in your update loop...like you're trolling us. But that couldn't be, could it?

If this is legit then it looks quite strange and bug like. Have you tried restarting Unity? Have you filed a bug report?

avatar image LeonardChallis · Apr 18, 2013 at 09:46 AM 0
Share

No, not trolling at all! And no I've nothing strange like that happening - it's still in the very early, basic stages. Literall just a var in the script which I want to set a value to. It does seem to change sometimes but I couldn't, for instance, put on a 2 digit integer because after the first or would shoot up to the other input box. I've not filed a bug report as I wasn't sure if I was doing something silly and thought I'd see if anyone here has any advice first.

3 Replies

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by Connor5393 · May 25, 2013 at 08:22 PM

He's definitely not trolling. I'm having the same exact problem except it's jumping me to the x collider input box. It just started happening after I upgraded to 4.1.3f3. I just submitted a bug report. In the mean time, I'm going to change the variable to private and set it in the script. It's a longer more inconvenient process, but it works.

Comment
LeonardChallis

People who like this

1 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 LeonardChallis · May 25, 2013 at 09:19 PM 0
Share

Ah great idea - make the var private. Thanks!

avatar image

Answer by AndyWarhy · May 27, 2013 at 05:16 PM

I had exactly the same problem (but not with script component, but with Hinge joint and Rigidbody components) after Unity upgrade and I solved it by removing that component and adding it again. Don`t know if it will help also in your case, but it`s worth a try...

Comment
hueyesquire

People who like this

1 Show 0 · 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

Answer by Stardog · Oct 11, 2013 at 11:38 AM

You can fix it by removing each component until the object is empty, then Undo until they're all back.

Just got t$$anonymous$$s bug in 4.2.1.

Comment

People who like this

0 Show 0 · 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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

15 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

Related Questions

A node in a childnode? 1 Answer

Crash on .exe but fine on editor... 1 Answer

Inspector cannot find script instance 1 Answer

Inspector vs Script: Component best practice? 1 Answer

what's wrong with this script? 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