Can't start WebSocket transport
I tested it in a separate bare project and it starts up fine.
I also tried changing the port and that didn't do anything.

5 Replies
Oh okay. I found the problem.
create_server is being called twice and it errors out on the second call.
What's the best way to go about editing the auto-generated files from rivet_sdk?we have our plugin source code at https://github.com/rivet-gg/plugin-godot, if you'd like to tinker with that and build from source
I assume it's being generated by the rust plugin, with most of the code being from the toolchain repo?
yeah it looks like rivet-plugin-godot (https://github.com/rivet-gg/plugin-godot/tree/main/rust/rivet-plugin-godot) provides bindings between the toolchain and godot
GitHub
plugin-godot/rust/rivet-plugin-godot at main · rivet-gg/plugin-godot
🔌 Plugin for Rivet + Godot 4. Contribute to rivet-gg/plugin-godot development by creating an account on GitHub.
i think the code youre looking for is in this file https://github.com/rivet-gg/plugin-godot/blob/main/examples/lobbies_servers/addons/rivet_sdk/multiplayer_manager.gd, which says its autogenerated but i think thats just because it gets copied into the plugin
thats likely the file to edit