Search Unity

Question Defining Application productName after building

Discussion in 'Editor & General Support' started by Hayden-Verbrec, Feb 1, 2023.

  1. Hayden-Verbrec

    Hayden-Verbrec

    Joined:
    Sep 14, 2022
    Posts:
    11
    Hey legends,

    I have a quick question for anybody that may know the answer or a workaround that would suit the requirements here:

    I have a need to name a client after Unity has built it. The client gets packaged after the build process and during this package stage in the pipeline, external assets are configured and loaded as appropriate to where the client is being shipped to.

    I would like to be able to append some information to the process name at this stage.

    An example would be:

    "myClient" becoming "myClient - Version 1.2 targeting Bland Panda"

    Where Bland Panda would be the server environment the client connects to.

    The reason for this requirement is that I may have multiple processes of the same build running at once, targeting different servers which need to be differentiated at the process level, or simply in Task Manager.

    I'm hoping to define an addendum to the name within the .exe -arguments, in the script on application start, or really any method after building the client.

    If anyone knows an answer or workaround to this, please let me know!

    Thanks!