Were you alone or with other players?
With other Players
How often does the issue occur?
100% of the time
Description
If 2 or more players call Replicator Spawn Next Object
at the same time AND there are pooled objects (Either via returning an older object or by pre-allocating objects), both players will attempt to spawn the same object
This bug occurred to us in ^MurderV4 when we were experimenting, 2 players in our party loaded in at the same time, and started sharing a nametag.
When the local player joins the room, they automatically trigger our initialization system (Basically a custom Local Player Joined
event that fires every 15 seconds until it successfully completes). During initialization, if no object with the tag Nametag+[LocalRoomIndex]
exists, it requests the nametag replicator to spawn a new one. After spawning a nametag, it adds the tags Nametag+[LocalRoomIndex]
and Nametag
to the object. Looking at the tags of the glitched/shared nametag, they were ["Nametag1", "Nametag", "Nametag2"]
. This implies the player with Room Index 1 spawned in the object the first time, added the tags Nametag1
and Nametag
, then the player with Room Index 2 “spawned” the same object, adding the tag Nametag2
If it means anything, the objects are assigned to the local player on spawn, as its supposed to be THEIR nametag