- Home /
Prefab tag bug
Hi did any one else had problem with tags in unity ! I have prefab (Ball) and it has tag "mainBall" for some reason unity is changing tag to that prefab ! I have "10Kbonus" tag that belongs to different prefab and for some reason "mainBall" tag is replaced with "10kbonus" tag after (Ball) prefab is instansiated ! And again if I stop the game and check Ball prefab it has correct tag - "mainBall" ! If I play the game - spanw in some balls then pause and check tags again they have changed to "10kbonus" tag ! I never have coded anything related to change tags by script so I can't understand what is going on !
Once I had this problem I restarted Unity and all was back to normal and now I have this problem again but this time restarting Unity is not helping !
Any Ideas what can cause this ?
can you show the code that has the game looking for those tags as well as anywhere you have the tags interacting for the 10$$anonymous$$bonus?
OP said it's not in the code, yes, it is worth it to check, but it's probably an inspector problem (or actually a bug)
Your answer
Follow this Question
Related Questions
Why my prefab is destroyed after reloading level? 2 Answers
Tagging a prefab breaks my code? 0 Answers
Instantiate prefab with different tag 4 Answers