- Home /
Tag list emptied!?
Hi!
When I run & build my project, the Tag list is cleared. Not just in runtime, but in the editor as well. This means I have to recreate all tags in order for it to work again.
However, when I run the application through the editor and pause the execution, the tags are still attached to their game objects, appear in the drop-down list and everything works. The list that appears when I click on Add tag is empty though.
Anyone know anything about what could cause this problem? I'm completely out of ideas.
It sounds like this only happens when you build the project, not whenever you play the scene in the editor?
Do you have any third party libraries in the project? Anything that might have an editor script that's getting triggered when you build?
Have you tried this in a completely new project? If so, you may have a Unity bug, and should definitely report it. If not, then it's likely something specific in your project, and you can start adding things until it appears.
Hi Julien, thanks for answering.
I managed to solve this, in a rather peculiar way. When I started to re-enter all the tags I had previous to the error, after entering the first tag, the tag-list re-appeared in the editor, and all was fine.
However I have no idea why it disappeared in the first place. I will keep an eye out if it happens again.
Answer by sunseeker1988 · Dec 12, 2016 at 08:08 AM
Find Tagmanager.Assett in your project folder on your hard drive and replace it with a backed uop version of the same file. This will replace the corrupted file with the most recent working tag list. This only works if you have a saved backup of your game before this error started.
Your answer
![](https://koobas.hobune.stream/wayback/20220613190243im_/https://answers.unity.com/themes/thub/images/avi.jpg)