- Home /
Game wont restart in the build, but works great in the editor..
UnityException: GameObject has undefined tag! at (wrapper managed-to-native) UnityEngine.GameObject:get_tag () at UnityEngine.Component.get_tag () [0x00000] in :0 at PlayerCollision.OnCollisionEnter (UnityEngine.Collision collisionInfo) [0x00000] in :0
(Filename: Line: -1)
Seems like you put a tag to a GameObject and then deleted that tag? When does that happens?
Answer by tormentoarmagedoom · May 14, 2018 at 05:49 PM
For some reason, you are trying to acces a tag from a gameobject. But that Tag has been deleted, or is null ...
I can not say why without more info. But i can also say i never seen this before...
Your answer
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
Unity 5.5.1f1 Android "Error Building Player" 0 Answers
Android SDK does not include error 1 Answer
Android build problem! 1 Answer