Custom Build and Run is a Unity editor extension designed to streamline the testing and development process of multiplayer games using Unity and Nakama Server. With just a single command, it automates the building and launching of multiple standalone game instances alongside entering Play Mode in the Unity Editor, allowing you to test matchmaking and in-game interactions seamlessly.
This utility addresses the common challenge of testing multiplayer interactions in Unity. Traditionally, testing such features requires manual coordination between building the game, running multiple instances, and managing server connections. Custom Build and Run simplifies this into one step, saving time and reducing errors.
CustomBuildAndRun.cs
script into your Unity project's Editor folder.RimuruDev Tools
menu or by pressing the assigned hotkey (%F1
by default).After installation, the utility can be triggered via the editor menu RimuruDev Tools/Build and Run + Play Editor Mode
or by using the hotkey %F1
. Ensure your scenes are properly configured in the Build Settings and that the Nakama server is running.
Use the menu command or hotkey to initiate the build. The utility will:
RimuruDev Tools/Build and Run + Play Editor Mode %F1
Unity Editor: Ensure you have Unity Editor installed.
If you have suggestions for improving the utility or have encountered issues, please feel free to contribute: