CollectionService GetTagged not working..?

I’m making an interact system thing for fun, and I’m using the CollectionService to divide the interactable object types, but it’s being real odd…

This is being called from the command bar:

I’m using the Tag Editor which I believe to work, but I don’t know why this isn’t working… I could be stupid but I’m not sure…

2 Likes

Ensure you don’t have any spaces at the end of the tag name.

Um… I printed out all the characters & the return of string.byte(letter), what’s 13?

This might be a bug with Tag Editor, cause I think it’s the “Enter’s new line”

1 Like

I don’t really use the tag editor so I don’t know, but that’s the issue.

Came across this thread since I’ve been experiencing similar issues with the Tag Editor plugin as well. The plugin might not be tagging objects properly, so your best bet is manually tagging them ingame in the meantime.

Having the same issue here, GetTagged is not returning new tags for some reason. Using tag editor.

Edit: It’s def an issue w/tag editor. I manually added a tag via command bar and it returned just fine. Looks like tag editor is adding an extra space at the end on accident.

2 Likes

Check the solution thing. You could try this.

1 Like

Experiencing the same issue over the past few days. Just chiming in.

This was caused by an issue where TextBoxes in general would have a newline (aka \n or string.char(13)) appended to the end. It started on Friday and the change that caused it was disabled earlier today. The issue affected the Tag Editor plugin, causing any new tags you added since Friday to have these characters inserted.

4 Likes

Studio did do an update when I launched it a few minutes ago, but I’m still seeing the same behavior. Has the the patch to studio been released yet? I ask this because I’m still seeing the same thing when I create new tags.