How to conveniently run multiple builds after building or rebuilding project?

Hello,

For the purposes of my project, I have been testing multiple instances for my multiplayer project. While good in many cases, but unfortunately, multi instance addons that run in editor such as Advanced Instance Manager and ParrelSync do not always behave the same as the build (not minor, but game breaking differences), especially in network testing. So I want to know if there is already a way that I have missed in the editor to run multiple builds after building the project? Something like the ā€œBuild and Runā€ but instead, ā€œbuild once and run 3.ā€ In other words run 3 instances of my exe after building, in one click. If not, I can accept other options.

Thanks in advance

If you want to run the same build multiple times create a batch file or an editor script that launches the given build n times.

But really I would investigate why ParrelSync does not behave the same way. This should not be the case and may indicate an actual issue thatā€˜s just not obvious in a build for some reason, or simply requires cleaning and recreating the synched projects.

1 Like

check this one,
for the editor script, to do something after build

theres also new multiplayer play mode, where you can run multiple clients inside editor
https://docs.unity3d.com/Packages/com.unity.multiplayer.playmode@0.3/manual/index.html

1 Like