Skip to content
AI-powered appsNewChat, vision, voice, generationBookings & schedulingAppointments that book themselvesShops & sellingA storefront in every pocketClient & businessRun the operation from one placeCommunities & clubsA home that is not a group chat
Health & wellnessHabits, tracking and calmGames2D, 3D and multiplayerPersonal & toolsThe tool you wish existedInternal toolsThe tool ops never had time for
See all use cases
ArcadeNewPricingSecurity
EngineThe game engine and World EditorHow it worksFrom one sentence to a live productDocsGuides for building and publishingBlogStories, guides and newsChangelogWhat shipped latelyStatusUptime of every serviceSupportGet help from the team
AI-powered appsBookings & schedulingShops & sellingClient & businessCommunities & clubsHealth & wellnessGamesPersonal & toolsInternal tools
See all use cases
ArcadeNewPricingSecurity
EngineHow it worksDocsBlogChangelogStatusSupport
Language
Blog
TroubleshootingNovember 22, 20265 min read

Players can't join a multiplayer room

A failed join is usually not the netcode. It is a mistyped code, a link to a sleeping preview, a room server that was never published, or an outdated tab.

Startbase Team
Editorial ink illustration of a clubhouse door with a sliding peephole and numbered brass hooks beside it, the peephole slider in ember orange

Key takeaways

  • First find out which address each player opened: the workspace preview, a shared preview link, or the published game.
  • A published game needs its room server published too, which requires Multiplayer on and a paid plan; previews run it on every plan.
  • Room codes fail on case, spaces and look-alike characters; normalize them and use an unambiguous alphabet.
  • Players on an old cached version, full or started rooms, and networks that block WebSockets cause the rest.

If players cannot join your multiplayer room, getting "room not found", spinning on "connecting", or landing alone in an empty room while their friend waits in another, start by checking which address each person opened. The most common cause is two people on different copies of the game: one on the workspace preview or a shared preview link, the other on the published site, each talking to a different server. After that come room codes that do not match exactly, a published game whose room server was never published, and rooms that are full, already started or closed when the host left.

First: are both players on the same game?

In Startbase a project has three places to play, and they do not share rooms (multiplayer docs):

  • The workspace preview runs a development copy of your room server.
  • A shared preview link shows the same running preview. Teammates can always open it; others need "Anyone with the link" switched on, and it works only while the preview is running (sharing previews).
  • The published game at your startbase.app address or custom domain uses the hosted room server, updated each time you publish.

A room created on the preview does not exist on the published server, and the other way round. Send everyone the same link, and for real play sessions, the published address.

Causes, most likely first

1. Different addresses or versions

Beyond preview versus published, a player who opened the game yesterday may still have the old version in a tab or cached on their home screen, talking to the server with an older message format. Check: ask each player to read the URL and reload. Show a small version number on the title screen so you can compare at a glance. Fix: have the client send its version when joining; the server refuses mismatches with a clear "A new version is out, tap to reload" message instead of a silent failure.

2. Room code mismatches

Codes typed on phones collect capital letters, trailing spaces and autocorrect. O and 0, I, l and 1 look alike in many fonts. Fix: uppercase and trim codes on both create and join, use an alphabet without look-alikes (for example, letters and digits minus O, 0, I, 1 and L), keep codes to 4 to 6 characters, and offer a share link that fills the code in automatically so nobody types at all.

3. The published game has no published room server

Multiplayer works in preview and fails for everyone on the live site. On Startbase, a game with a room server publishes it along with the site on paid plans, once Multiplayer is on for the project; previews and shared preview links run it on every plan. If the server cannot be published, the publish fails, the live site stays as it was and the message says what to fix (publish docs). If Multiplayer was turned off after publishing, online play in the published game stops. Check: the Multiplayer section and the publish message. Fix: turn Multiplayer on, confirm the plan, and publish again.

4. The room is full, started or gone

Common room rules: a maximum of 4 or 8 players, no joins after the match starts, and the room closes when the host leaves or after some idle minutes. Without clear errors, each looks like "can't join". Fix: return a specific reason for each case ("Room is full, 4 of 4", "Match in progress, you can watch or wait", "This room has closed"), let late arrivals wait in a lobby for the next round, and hand host to the next player instead of closing the room when the host drops.

5. Join happens before the connection is ready

The join message is sent the instant the page loads, before the WebSocket connection opens, and is lost. Works on fast Wi-Fi, fails on mobile data. Check: the browser console shows a send error or a join with no reply. Fix: wait for the connection's open event, then join; retry the join with backoff if no reply arrives within a few seconds; show "Connecting" and "Joining room ABCD" as separate states.

6. Networks that block realtime connections

Some school, office and public Wi-Fi networks, firewalls and VPNs block or cut long-lived WebSocket connections. Check: does the same player connect on mobile data? Fix: you cannot change their network, but you can detect a failed connection and show "Your network may block online play. Try mobile data." instead of spinning forever.

7. Matchmaking splits players

Quick-play matchmaking can place two friends in different rooms if they press Play a second apart. Fix: give friends a private room with a code or link, and keep quick play for strangers.

Getting a room full of people in at once

At a party, in a classroom or at a meetup, typing codes is where joins go wrong. Put the room code in the link (for example your-game.startbase.app/?room=K7QX) and show it as a QR code on the host's screen, so scanning both opens the right address and joins the right room. Once published, the Share row in the Publish panel can show a QR code for your game's address, and the game itself can draw one for each room. Show the player list live in the lobby, so everyone can see who made it in before the host starts.

Five-minute debug checklist

  1. 01Both players open the exact same URL, reload, and confirm the version number matches.
  2. 02Host creates a room; the second player joins with the share link, not a typed code.
  3. 03If it fails on the published site but works in preview, check the Multiplayer switch, your plan, and republish.
  4. 04Try the failing player on mobile data with VPN off.
  5. 05Read the browser console on the failing device for connection or join errors, and paste them to the agent.

The message to send the agent

Friends often can't join my room: some get "room not found", some spin on connecting. Normalize room codes (uppercase, trimmed, 5 characters from an alphabet without O, 0, I, 1 or L) and add a share link that joins directly. Only send the join after the connection opens, retry it with backoff, and show separate Connecting and Joining states. Return clear errors for full rooms, matches in progress, closed rooms and version mismatches (with a reload button), show the game version on the title screen, and pass host to the next player when the host leaves instead of closing the room.

Then test with two devices on different networks against the published address. If players can join but then see different things, that is a separate problem: see multiplayer players out of sync. For lobby and room design from scratch, how to make an io game and how to build a multiplayer game cover the patterns.

Frequently asked questions

Why does multiplayer work in preview but not after publishing?

The published game needs its room server published too. On Startbase that requires Multiplayer turned on for the project and a paid plan. The publish message says which is missing.

Why does my friend get "room not found" with the right code?

Usually you are on different copies of the game, such as one on the preview and one on the published site, or the code has a case or spacing difference. Use a share link that joins directly.

Can players on school or office Wi-Fi join?

Sometimes not: some networks block the realtime connections games use. Detect the failure and suggest switching to mobile data.

Does unpublishing my game remove the room server?

No. On Startbase, unpublishing the site keeps the room server. Turning Multiplayer off for the project removes it.

On this page

  • First: are both players on the same game?
  • Causes, most likely first
  • Getting a room full of people in at once
  • Five-minute debug checklist
  • The message to send the agent

Keep reading

More in Troubleshooting
Editorial ink illustration of an overstuffed card catalog drawer spilling index cards, the brass tab of one card in ember orange
TroubleshootingNovember 22, 2026

Why is my app slow with lots of data?

An app that slows down as data grows almost always loads or draws too much at once. Here is how to find which part is slow and the fix for each.

6 min read
Editorial ink illustration of a border checkpoint with a lowered barrier arm and a waiting parcel, the guard's stamp in ember orange
TroubleshootingNovember 22, 2026

CORS errors explained and fixed

A CORS error means the server you called did not say your website is allowed to read its answer. The fix lives on that server, or in a server function you control.

5 min read

Read less. Ship more.

Everything in this post is one prompt away. Describe your app and watch it build.

Start building

Apps, games, backends and publishing from one conversation.

Product

  • Features
  • Use cases
  • Pricing
  • Changelog

Resources

  • Blog
  • Docs
  • Support
  • Status
  • Security

Contact

  • w@startbase.ai
  • X / Twitter
  • LinkedIn
  • Instagram

Legal

  • Terms
  • Privacy

© 2026 Startbase. All rights reserved.