Skip to content

SetPlayerRoutingBucket causing "Solo Session" bug #4099

Description

@CsyonDerEchte

What happened?

I ran into an issue on my test server where a developer and I shared the same bucket, but we couldn't see each other. He couldn't even see his own vehicle from earlier, but I could. It happened completely random.

We use a multicharacter system that places players into their own private bucket during character selection or creation, and then moves them back to bucket 0 (the default bucket) afterward.

Even after forcing him into bucket 0, he remained stuck in another dimension. When debugging his dimension using GetPlayerRoutingBucket, it returned 0, just like mine. So it appeared we were in the same bucket, but clearly we weren't, as he couldn't see me or the vehicles I spawned. The only fix was a relog. It seems this is still an issue that was reported years ago and never resolved: https://forum.cfx.re/t/routingbucket-causing-solo-session/5184416/3

I also asked other server owners who use routing buckets, and they reported experiencing the exact same random issues out of nowhere.

Expected result

The player should be in the bucket I set.

Reproduction steps

  1. Set the player in a random bucket (use any bucket other than 0).
  2. Set the player back to the default bucket (0).
  3. Check if the player can see other players. If neither player can see the other, the bug has occurred.

Importancy

Slight inconvenience

Area(s)

OneSync

Specific version(s)

Client: 33201 Beta / Server fx: b32561/Win

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugtriageNeeds a preliminary assessment to determine the urgency and required action

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions