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 /
avatar image
1
Question by maxmyth · Aug 09, 2011 at 02:58 PM · tagdocumentation3.4

Unable to add a tag to a GameObject in Unity 3.4

Problem

I create a cube GameObject with in Unity 3.4 and select it. I go to the Inspector and click the Tag drop down menu and select Add Tag... which is the last option. The Tag Manager opens up and I see the Tags option with a right facing arrow next to it. I click it and the arrow points down now and I see:

Size 1 Element 0

What any of that means I have no idea. All I know is that I can not figure out how to add a custom tag to my cube GameObject or even the Main Camera for that matter. I try left, right and middle button clicking but nothing.

The official Unity documentation is out of date (last update was in 2008). See for your self:

Tags http://unity3d.com/support/documentation/Components/Tags.html
Tag Manager http://unity3d.com/support/documentation/Components/class-TagManager.html

Closing Thoughts

I think it makes logical sense to update all the documentation if you are going to release a software update. Otherwise beginners get screwed. Or did I find a bug?

So is there a way to add a new custom tag to a GameObject in Unity 3.4?

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

1 Reply

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

Answer by dibonaj · Aug 09, 2011 at 03:07 PM

Change the size field. Size means size of array. Element 0 is the first element in the array. Simply change the size field to something you would like and you should see more elements added.

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 dibonaj · Aug 09, 2011 at 03:09 PM 0
Share

To further explain what I mean, just simply click on the 1 to the right of Size. It should highlight and you should be able to put in a value for yourself. If you put in 6 for instance, you will see Element 0 up to Element 5. After that just click to the right of whichever element you would like to change and type in the name of the Tag you would like to create.

avatar image maxmyth · Aug 09, 2011 at 03:13 PM 0
Share

Oh thank you very much. Too bad the official Unity docs have not been updated with this valuable information. I will report this. Thanks.

avatar image dibonaj · Aug 09, 2011 at 03:15 PM 0
Share

No problem. $$anonymous$$ost, if not all, of the Unity docs are in serious need of updating.

avatar image Joshua · Aug 09, 2011 at 03:36 PM 0
Share

The way the inspector displays arrays and lists - which is what has been confusing you - is far from ideal.

avatar image dibonaj · Aug 09, 2011 at 03:39 PM 1
Share

One more thing. If you simply start typing in last empty element listed for the tags, it automatically adds a new element to the array for you.

Show more comments

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Ability to add labels to assets in Unity 3.4? 2 Answers

Open the TagManager by code 0 Answers

Find child of a Game Object using tag 4 Answers

Attacking more than one enemy with same tag, but unity only allows one enemy at a time? 2 Answers

OverlapSphere seems to detect everything and ignores tags. How can I fix this? 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