Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

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

Discussion in 'Editor & General Support' started by xadd, Aug 18, 2023.

  1. xadd

    xadd

    Joined:
    May 25, 2023
    Posts:
    10
    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
     
    Last edited: Aug 18, 2023
  2. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    4,966
    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.
     
    xadd likes this.
  3. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,268
    xadd likes this.