Search Unity

Can't select tags numbered higher than 994 in Editor UI

Discussion in 'Editor & General Support' started by catfink, Aug 24, 2020.

  1. catfink

    catfink

    Joined:
    May 23, 2015
    Posts:
    176
    If you define more than 995 tags then any tags beyond this point are impossible to assign to prefabs in the editor UI. It will not display beyond tag 994 for editor assignment and the UI just breaks.

    You can create more than 994 tags in the layers part of the UI, you just can't then assign any tags beyond 994 to any of your prefabs.
    So it would appear inconsistent from a UI point of view to allow definition of more than 994 tags but then not allow those tags to be assigned to prefabs in another part of the UI where you would use them.
     
    PraetorBlue likes this.
  2. catfink

    catfink

    Joined:
    May 23, 2015
    Posts:
    176
    This is with Unity 2018.4.25 - forgot to add that. Easily recreated in a empty project. Just create 995 tags and then try assigning the 995th tag to an object, the UI for tags on prefabs won't even display that tag to let you assign it.
     
  3. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    I'd file a bug report with Unity. I'd be surprised if Unity tests with that high an amount of tags.
     
  4. Madgvox

    Madgvox

    Joined:
    Apr 13, 2014
    Posts:
    1,317
    Out of curiosity, is there a practical purpose that would require 995+ tags?
     
  5. catfink

    catfink

    Joined:
    May 23, 2015
    Posts:
    176
    Not any longer, we changed our design to not require tags anymore as a result of finding this issue. We still needed a unique identifier for categorisation of objects, we just don't use the tag anymore. In answer to the question as to why we needed 900+ tags ... we have world building in our product and the tags were used to identify objects used to world build for tasks like copy object or select object from UI and add to scene. The tag was just convenient way to quickly identify an object type without needing a component / script to do it.
     
    Last edited: Aug 25, 2020
    Madgvox likes this.