Whilst working with the new CollectionService and the GetTagged method associated with it, I encountered a bug in which specific tags I’d been setting to parts wouldn’t replicate to my client.
By narrowing it down, I worked out that tags set from a specific script of mine weren’t replicating.
In particular, tags set after a ‘game.Players.PlayerAdded:wait()’ yield would not replicate to the client.
Attached is a repro for the bug:
CollectionServiceBugRepro.rbxl (16.0 KB)
By starting up a server and clicking on the various buttons, different parts with tags are highlighted. The green parts with tag ‘Gamma’ don’t go transparent like the others, showing that the tag for them isn’t replicating. Note that the tags do replicate from server <-> server, but not from server → client.
Thanks for reading!