Photon Quantum 3.1.0 is now stable. A new physics solver, the Projected Gauss-Seidel, makes deterministic ragdolls possible for the first time, with every limb fully in sync across all clients, along with great improvements on physics objects stacking and more stable compound joints. Automated testing arrives too, so you can unit test your systems without needing an instance of a QuantumGame. FP math no longer needs lookup tables, which means no more LUT assets to manage or ship. Table components are a new storage option alongside sparse sets, and much more.
New to Quantum? Photon Quantum is a deterministic engine for online multiplayer games made with Unity, for up to 128 players. Players send only their input, every client runs the same simulation code, and predict/rollback corrects the result when verified inputs arrive. Your main focus is on gameplay code.
Deterministic Ragdolls and Physics Objects stacking
Physics is one hard part when building a predict-rollback game engine. Quantum 3.1 adds a new physics solver, Projected Gauss-Seidel with warm-start, that carries state from one tick to the next. Stacked objects stay put better, chains of joints such as ragdolls behave better, and bodies overshoot less. The previous solvers remain selectable.
On top of the solver come two building blocks. CharacterJoint3D is a ball-and-socket joint with optional twist and swing limits. The QuantumRagdoll component takes your character’s Animator and sets up limbs, head, chest and hips for you, with handles in the Scene view and per-part overrides. You’ll find a template under Hierarchy > Quantum > 3D > Ragdoll Entity.
Quantum’s Ragdolls are fully implemented as part of its deterministic simulation, meaning that knocking out a ragdoll has the exact same effect in every client’s physics bodies, instead of being just a non-synced visual effect. It allows designers to include the interactions with ragdoll limbs as part of the game design.
Pause, slow motion and timers that stay in sync
Frame.GameTimeScale controls how fast the simulation runs, for every player at once. Set it to 0 to pause, or to 0.5 for half speed. GameTimer counts game ticks, so cooldowns and countdowns pause and slow down with the game. Physics follows the time scale: at 0, collision callbacks still run but nothing moves, and above 1 physics can run extra substeps.
A pause menu in a co-op game or a slow-motion finishing move no longer needs custom bookkeeping.
Test your simulation like the rest of your code
A deterministic simulation gives the same result for the same inputs every time, which makes it a good fit for automated tests. The new FrameEmulator steps a single verified frame without a session, a runner or a QuantumGame. You set inputs, add commands and players, step the frame and check the events it raised. An exception during a step fails the test.
Two sample test projects run in Unity’s Edit Mode Test Runner. “Generate Dotnet Project” now also creates an NUnit project that runs with dotnet test, so simulation tests can run in a build pipeline without opening Unity. A small team without dedicated QA can catch gameplay regressions before a playtest does.
The limit: FrameEmulator does not cover prediction, rollback, checksums, snapshots or Unity views. Those still need a full session.
Your coding assistant reads the docs for your version
If you use an AI coding assistant, 3.1 can install the Quantum documentation inside your project, under Assets/Photon/Quantum/Documentation~, where Unity ignores it and agents read it through llms.txt. A second option copies a snippet for your AGENTS.md or CLAUDE.md that points the assistant to it. The assistant then works from the docs for the SDK version you have installed. Rerun the install after each upgrade so the two stay in step.
This documentation version is optimized for AI coding agents.
More control for larger projects
A player can send several commands in one frame via the new AddCommand API, without any extra setup necessary such as making a compound command. Read commands with the new frame.GetPlayerCommands<T> API.
The Quantum server plugin can accept, discard or modify a command on the server before it reaches the simulation.
SimulatorContext shows what the simulator is doing each update. Skip controls let you, for example, trade accuracy for performance on weaker devices.
table components iterate faster for data you read every tick, at the cost of slower adds and removes.
A Diff frame copy mode is introduced, to reduce the time spent copying frames during rollbacks, at the cost of an overhead to components access. The Full mode stays the default.
Fixed-point math no longer needs lookup tables and supports Burst.
Unity profiler counters, Asset Bundle support and Unity InputSystem support.
Upgrading from 3.0
3.1 has breaking changes. These are the ones most likely to cost you time:
Commands: SendCommand is replaced by QuantumGame.AddCommand. Read commands with frame.GetPlayerCommands<T>(player).
Lookup tables are removed. Delete the LUT folder, QuantumLookupTables.cs and the QuantumLookupTables asset.
Frame.DeltaTime now derives from GameTimeScale. Rerun Quantum CodeGen after upgrading.
Photon Realtime is now embedded as Quantum.Realtime. Delete the old PhotonRealtime and PhotonLibs folders by hand.
Defaults change: the simulation rate goes from 60 Hz to 64 Hz, and entity views interpolate with ExponentialDecay.
The release notes list every change and the steps to keep the old behavior. The migration guide covers the upgrade from 3.0.
Questions: ask the team and other developers on the Photon Discord
Photon Quantum is free for development. Pricing is based on peak concurrent users (CCU), so costs start only once your game grows past the free tier.
About Photon
Photon builds multiplayer networking SDKs and runs the global cloud they connect to. More than one million developers have registered accounts, and thousands of games run on Photon infrastructure, including Stumble Guys, Content Warning and R.E.P.O. Development is free. Pricing scales with peak concurrent users, so cost grows with a game’s success.