bridge_closed
How to fix it
Stop calls from the closed session and clean up timers and subscriptions. If it happens during play, check for calls made in a render loop.
Why it happens
The connection closes when the session ends, or when UniPlays sees too many requests for too long.
What your game receives
JSON
{
"code": "bridge_closed",
"message": "The connection to UniPlays closed while calls were still waiting.",
"docs": "https://uniplays.fun/docs/errors/bridge_closed"
}