- Home /
UnityException: GameObject has undefined tag!
Hello everyone. I downloaded asset from unity store and tested it on a different scene. When i came back to my default scene all the layers and tags i created vanished It is causing huge problem in my game.The player is dying when touching the coins. Power ups dont work and there are many other problems Does anybody know a fix for this?
I don't know why it did happen, but did you try to check for the autosaved backup in the Temp directory of your Unity project's folder and recover from that?
The temp directory of my project has empty files. When i restart unity the tag will appear but after running the game once it disappears again.
Did you delete the scene and assets that may be causing the issue before running the game again?
If no better solution comes up, I'd take a screenshots of the tags and re-enter them manually after they disappear
Answer by haibiaoZhang · Sep 11, 2017 at 09:35 AM
your project setting maybe changed by your import asserts