• 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
2
Question by DigitalDogfight · Oct 24, 2011 at 07:22 PM · gameobjectinspectortag

Default GameObject Tag: Tag already registered

Default GameObject Tag: Tag already registered

Unity Community- Please make a habit of making the CONSOLE ERROR as the title to your threads... it will make it easier for all of us to find a solution to our problems :)

I cannot see that I'm the only one with this particular issue.

This is an error I am getting because I accidentally added the same name tag in the inspector. My own dumb fault, I know. But, if I try to delete the duplicate tag, it only deletes the name, leaves a blank name space and still gives the above error in the console. There has got to be a way to clean up duplicate names and unused inspector registry slots.

I found this thread: Default GameObject BitMask: already registered

The answer was to delete the TagManager.asset file from Library. Upon restart the TagManager file is re-written. This actually works GREAT, but then all the Layers I created and corrosponding Physics Matrix is deleted.

Does anyone else know a fix, clean up solution, or a have a good link to share?

Thanks all!

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

4 Replies

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

Answer by DigitalDogfight · Nov 02, 2011 at 11:57 PM

All right, I figured it out. As I noted above, deleting the TagManager.asset file from Library folder will clean up your tags. This also causes all your layer NAMES to be deleted along with all your Physics Matrix info (Edit> ProjectSettings> Physics).

Here's what's happening, the LAYER NAMES are getting deleted in the inspector, but all your objects are STILL LINKED to the registry layer numbers and will work. You'll notice the Layer drop-down is blank for each object.

Back up your files before trying this, as usual.

  1. Do a screen capture of both the Layer Editor and Physics Matrix to be sure things will be exactly as named and set up before.

  2. Shut down Unity, delete or move the TagManager.asset file to your desktop as a backup. It will be rewritten with cleaned up tags.

  3. Go back in and RENAME all your blank layers in the inspector as you had before.

  4. Check the Physics Matrix, you'll see that all your layer connections are back.

  5. Test and back up your files.

Hope this helps!

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 Kutulue · Aug 22, 2014 at 10:14 AM

This problem seems to have been improved in later versions of Unity. I had the exact same issue. I added the Player tag when it already existed and was getting the console message.

I went into the add tag option and it shows all tags you have added. It will show a number above the tags which is how many user defined tags you have + 1. If the problem empty tag is the last one in the list simply reduce the tag count number by one. It will remove the offending tag and the console message will go away.

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 cpw1986913 · Jul 29, 2013 at 07:54 AM

you maybe have many tags like " "(blank space),there are the same,so lead this caution.

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 umair_hassan · Dec 24, 2014 at 05:20 PM

You have to delete the tag which is mentioned multiple time in tag list.

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.

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

6 People are following this question.

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

Related Questions

Tag-like Property Applied to Children (Inspector) 1 Answer

In Inspector gameobject check is not visible 0 Answers

setting the tag of all gameObjects in an array 1 Answer

Getting a tag from a child 1 Answer

Destroy Child Object(s) OnValidate? 6 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