- Web Framework - Hono
- Deployment - Cloudflare Workers
- Database - Supabase
- Jobs - Trigger.Dev
Circumvent the issue of a Unity Relay Allocation not shutting down shortly after a host player disconnects. This only applies to using websockets(wss) for transport.
The use of Unity's Lobby Service is unnecessary for my game's requirements.
Currently, with how relay works with wss, client players can join an empty relay instance. After a duration (usually around 1 minute) they the relay instance will shutdown and clients will be disconnected.
Join codes are deleted after a specified duration set in the wrangler.toml
.
The API will only work with an authentication key of which only I have access to.
Start the wrangler dev server
npm run dev
In a separate terminal, run the trigger.dev client
npm run trigger-client