Hi,
for the first application instance its easy to retrieve the start params from Environment.CommandLine. But for a forced single instance Application a second start with different params is not given to the running instance.
For UWP this might be possible with the Application.deepLinkActivated Callback Unity - Scripting API: Application.deepLinkActivated but thats not working on Windows standard apps.
A workaround might be to have a second application which starts the unity application and in case of allready running it uses NamedPipes to pass the params to the instance.
I think it would be much easier for unity to implement a callback for that as they allready handle the force single instance… may be just use the deepLinkActivated callback even if it not a real deeplink.
So whom could I tell this to get it into your backlog ?
Greetings
Philipp