Search Issue Tracker


Fixed in 2021.3.25f1, 2022.2.19f1, 2023.1.0b16, 2023.2.0a14



Found in





Issue ID




Tag is named after the previously created Tag when creating a Tag with an empty “New Tag Name” field and throws “UnityException: Tag: <…> is not defined” error when trying to remove it



Reproduction steps:
1. Open the attached “repro-project“ project
2. Open the “SampleScene” scene
3. Select any GameObject in Hierarchy window and select “Add Tag…” in Tag selection
4. Create a new Tag with any name and press “Save” button
5. Create another Tag with “New Tag Name” empty and press Enter key
6. Observe the Tags list
7. Remove newly created Tags

Expected result: Tag with empty “New Tag Name” field wasn’t created and newly created Tag was removed
Actual result: Tag with empty “New Tag Name” field was created and named after previously created Tag and throws “UnityException: Tag: <…> is not defined” error instead of being removed

Reproducible with: 2021.1.0a1, 2021.3.22f1, 2022.2.13f1, 2023.1.0b1, 2023.2.0a9
Not reproducible with: 2020.2.0b3, 2020.3.47f1

Reproduced on: macOS Monterey 12.6 (Intel), Windows 10 (by the reporter)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.