Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

GGRS

github.com

  • Free plan
  • Windows
  • macOS
  • Linux
  • Web
  • API
7.8 Club score Visit github.com

What GGRS is

GGRS is a free, open-source Rust library for peer-to-peer rollback networking in games. It predicts remote player inputs and, when received inputs differ, restores a saved game state before simulating forward again. The library manages input exchange, rollback scheduling, time synchronization, and desync detection. Developers can create peer-to-peer multiplayer, spectator, and network-free sync-test sessions. GGRS supports non-blocking UDP sockets and custom transports through its NonBlockingSocket trait. Games integrating it must save and load state and advance one frame from player inputs. A Bevy plugin handles state advancement and rollback scheduling, while a Godot wrapper is linked by the project; demos use Bevy and Macroquad. The wasm-bindgen feature enables WebAssembly browser builds. Matchbox is used in demos for WebRTC matchmaking, but the hosted matchmaking server is offline, so demos will not automatically find opponents. GGRS is written in safe Rust and dual-licensed under MIT or Apache License 2.0.

Who it suits

GGRS is for game developers implementing rollback networking in Rust or supported WebAssembly/browser projects. It suits teams able to provide state save/load logic and their own matchmaking arrangement.

Good to know, and what to watch

  • Supports peer-to-peer rollback networking
  • Includes spectator and sync-test sessions
  • Offers UDP and custom transports
  • Provides Bevy and Godot integrations
  • Dual-licensed under MIT or Apache 2.0
  • Games must implement state saving and loading
  • Hosted demo matchmaking server is offline
  • No matchmaking service is provided
  • Requires Rust integration work

The verdict

GGRS supplies rollback networking mechanics, session types, transport options, and engine integrations for game projects. Developers must handle game-state integration and arrange matchmaking outside the offline demo server.

What the maker publishes

API
The project links to API documentation hosted on docs.rs. source
Bevy plugin
The Bevy GGRS plugin advances game state and handles rollbacks through a dedicated schedule, snapshotting registered components and resources. source
Browser support
The `wasm-bindgen` feature enables WASM support and is required when targeting `wasm32` with browser APIs. source
Browser support
The wasm-bindgen feature enables WebAssembly support for browser APIs, and the project points to Matchbox for WebRTC sockets. source
Demo limitation
The project README says its hosted matchmaking server is currently offline, so the demos will not automatically find opponents. source
Engine integrations
The project links to a Bevy plugin and a Godot wrapper; its demos use Macroquad and Bevy. source
Game integration
The GGRS maintainers also maintain a Bevy plugin that handles game-state advancement and rollbacks through a dedicated schedule. source
Game integration
Games provide state save and load operations and advance a frame using player inputs; GGRS handles input exchange, prediction, rollback scheduling, time synchronization, and desync detection. source
Implementation
The project describes GGRS as written in 100% safe Rust. source
Input prediction
Built-in predictors can repeat the last received input or predict the default input. source
Intended audience
The project is aimed at developers integrating rollback networking into games, with examples and documentation for setup, sessions, the main loop, requests and events, and time synchronization. source
License
GGRS is dual-licensed under MIT or Apache License 2.0, at the user's option. source
Matchmaking integration
The project’s demos use Matchbox for WebRTC-based matchmaking, and its README says Matchbox sockets can work with GGRS through a feature flag. source
Networking
GGRS supports a non-blocking UDP socket and a custom transport layer through its NonBlockingSocket trait. source
Networking features
GGRS handles input exchange, prediction, rollback scheduling, time synchronization, and desync detection. source
Project status
The README describes GGRS as fairly stable and says its core functionality for multiple players and spectators has not changed significantly in recent versions. source
Purpose
GGRS is a Rust library for peer-to-peer rollback networking, described as a reimagination of the GGPO network SDK. source
Rollback
GGRS predicts remote player inputs and, when they differ from received inputs, rolls back to a saved game state and simulates forward again. source
Rollback operation
It predicts remote player inputs, detects mispredictions, rolls back to a saved state, and simulates forward again. source
Security
The project describes GGRS as written in 100% safe Rust. source
Session types
The library provides peer-to-peer multiplayer, spectator, and network-free sync-test sessions. source
Setup requirement
A game using GGRS must save and load its state and advance one frame given player inputs. source
Support and community
The README points developers to the GGPO Developers Discord to discuss rollback networking. source

Checked against the maker's pages on 8 Oct 2026.