Comments (2)
I ran your add-created-by
branch locally and I noticed that if I join as a second player there are two websocket connections to hathora established at the same time:
I think this is ultimately causing issues (it's interfering with the hathora's client logic which assumes the very first message it receives is a snapshot, and the rest are updates). I would check your connection logic and make sure you only make a single connection for a given stateId per browser tab
from builder.
Ok yes, thanks, making sure to just have one connection seems to have fixed it.
from builder.
Related Issues (20)
- Restore user session after closing browser tab HOT 1
- Error on non-determinism in methods HOT 2
- Can't build examples: "Unable to compile TypeScript" HOT 1
- Space bars in the path to my projects directory throws error HOT 2
- Introduce scenarios HOT 1
- Need to specify a minimum node version HOT 1
- `hathora init` throws an error HOT 7
- Breaking change in version `0.8.0`? client.connect doesn't resolve HOT 1
- New Hathora CLI orchestration
- Typescript errors in api/base.ts and .hathora/patch.ts HOT 2
- Why mutability ? HOT 2
- `hathora build` does not generate `dist` folder in custom react client HOT 6
- Typed events HOT 17
- Lobby service HOT 1
- How do you safely change the HathoraConfig types? HOT 1
- deprecation of npm i global
- tsconfig in `.hathora` is different from one in `server`
- Feature request: classes type
- Dependencies within monorepo are not loaded
- type generation goes into infinite loop with recursive types
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from builder.