0
\$\begingroup\$

I am searching for a solution to avoid multiple instances of my application in HoloLens. How can I detect that there's one already running, and stop the new instance?

I am new to Unity and application development, I read that it's an OS problem (operative system) and it's not related to HoloLens? Does anyone have a solution?

\$\endgroup\$
0

1 Answer 1

1
\$\begingroup\$

You can force Unity to run a single instance of your application by ticking Force Single Instance in Edit > Project Settings > Player > Resolution and Presentation

Screenshot of Project Settings window showing where to find the option

\$\endgroup\$
1
  • \$\begingroup\$ thank you for your response but this option is only valid for pc, mac and lunix settings , in my case it is a UWP application and I haven't found this parameter in settings for universal windows platform \$\endgroup\$
    – holobil
    Commented Dec 14, 2022 at 16:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .