WebSocket example errors: 'WebSocket is not defined'
⭐ Starfall•Updated 2 days ago•0 views
Two requirements: the game must be on the 64-bit/chromium branch, and the WebSocket global only exists on the client that owns the chip - the example needs a pl…
Why does the default Starfall websocket example throw 'WebSocket is not defined'
Two requirements: the game must be on the 64-bit/chromium branch, and the WebSocket global only exists on the client that owns the chip - the example needs a player()==owner() check. Also don't put 'https://' in the URL passed to WebSocket().