Editing verse tags for multiple objects inserts a lot of tags and creates n*n tagged objects.
Moreover, the editor UI does not display them all, only one tag is visible in the details page. You can only know this if you iterate in verse and print obj locations or if you copy the verse tag node (Ctrl + C) and paste in the Notepad (same tag is repeated)
Steps to Reproduce
Create a tag in verse.
Add Verse Tag Markup with empty tag to 80 props.
Select all props, right-click and select to edit verse tags.
Select your tag in the drop-down to apply to all props and save.
Note: if you check the tag contents in the details page for any prop, it will display just one tag as expected, but if you copy it, you will see there isnât just one tag.
Get all tagged props in verse, iterate and debug-draw them.
Note: Game will crash as it cannot draw 6000+ objects
Expected Result
Add a unit test to cover this scenario before fixing this bug.
Only insert one tag (When mass-editing verse tags, only one verse tag is added to each prop if only one tag is selected in the drop-down)
Observed Result
For each of 80 objects, same verse tag is added 80 times
Platform(s)
Windows
Additional Notes
WORKAROUND:
Add tags manually for each individual prop (can also be done when editing multiple verse tags, each individual prop can be selected on the left)
And it is not obvious until you try to find objects by tag.
So if you have 3 tagged objects and want to hide random two thirds each round, you would actually find 9 objects by tags and might end up showing previously hidden object and vice versa.
If you do have a lot of objects to tag it will crash the game for example if you need to debug draw each.
If you use tag_search_criteria then you will get the correct number of objects (in my case 5) but fundamentally this needs to be fixed because the overhead of all these tags is too much and increases exponentially for each object included in the tagging process