# Local Testing via Unity's Multiplayer Play Mode (MPPM)

[MPPM](https://docs-multiplayer.unity3d.com/mppm/current/about/) is Unity's official solution for local multiplayer testing, available for Unity 2023.2+.

**Pros**

* Short iteration times
* Tighter integration within the Editor, doesn't require multiple (standalone) Editors open

**Cons**

* Requires Unity 2023.2+
* Can be more resource demanding than other solutions - this might change in upcoming MPPM updates

## How to use?

* Install MPPM as described in their [Installation Instructions](https://docs-multiplayer.unity3d.com/mppm/current/install/)
* Open Window > *Multiplayer Play Mode*
* Enable up to 4 Virtual Players
* Make sure that the [bake data](https://docs.coherence.io/1.2/coherence-sdk-for-unity/baking-and-code-generation) is up-to-date before starting to test, and that the Replication Server is running with the latest schema generated by it
* Enter *Play Mode*

**coherence** tells apart Virtual Players from the main Editor, so it's easier for you to not edit assets in clones by mistake.

<figure><img src="https://lh7-eu.googleusercontent.com/oPye1yDqQhrUTYgnrXZsFoNJ7GN69qLnaVDz17ZI5J30OZFE8PGoS__VW0bANCkhL610jJPNYmXRU5mRU0GpR33DjvTx5q0ljury62UCK56Dq76XVytEhgvEWoMSHTc2vO3R2rP2JhIugvRDP0JJFo_q1A=s2048" alt=""><figcaption><p>Inspecting a CoherenceSync on a Virtual Player</p></figcaption></figure>
