THE ORB
Starting the studio

Routing bucket problems

Players or objects are in separate copies of the world, so they cannot see each other.

groupsPlayers invisible to each othercodeNeeds a developer

Do this first

Usually a job, apartment or minigame script that put someone in an instance and never brought them back.

bug_reportPaste your whole console instead

What it means

Routing buckets are separate instances of the world. A player in bucket 1 cannot see entities in bucket 0, and vice versa. This rarely produces an error line; the symptom is entities that "do not spawn", players who are invisible to each other, or a vehicle that exists on the server and not on the client.

What causes it

Ordered by how often it is the answer.

  1. 1

    The entity was created in a different bucket from the player

    Server-created entities land in bucket 0 unless told otherwise. A player moved into a bucket for an instanced job or apartment cannot see them.

  2. 2

    The player was moved and never moved back

    A crash, a disconnect mid-instance, or a script path that sets the bucket and does not have a reset. The player stays in an empty world after respawning.

  3. 3

    Two scripts both manage buckets

    An apartment script and a minigame script both assigning bucket numbers, with no shared registry, eventually collide.

  4. 4

    Entity lockdown mode

    SetRoutingBucketEntityLockdownMode set to strict stops clients creating entities in that bucket at all, which breaks client-side spawning inside it.

How to tell which one is yours

-- server
print(GetPlayerRoutingBucket(src), GetEntityRoutingBucket(entity))

Different numbers is the whole diagnosis.

Where to look

Every call to SetPlayerRoutingBucket and SetEntityRoutingBucket, and whether each has a matching reset.

How to fix it

Put entities in the player's bucket, and always reset on the way out:

local bucket = GetPlayerRoutingBucket(src)
local veh = CreateVehicle(model, coords.x, coords.y, coords.z, h, true, false)
SetEntityRoutingBucket(veh, bucket)

AddEventHandler('playerDropped', function()
    SetPlayerRoutingBucket(source, 0)
end)

Still stuck on your own code?

This page is what this error usually means. Paste your console into Server Fixer and it will rank everything in it and tell you what to do first, and if you would rather not touch it, ORBIE can repair the script and hand the resource back ready to drop in.

bug_reportOpen Server Fixer

Errors that travel with this one