Make a Unity app restart itself

Hi,

Is it possible to make an app on Magic Leap 2 restart itself? I have tried a lot of suggestion I found on the web and sparred a lot with some LLMs, up to complex Java bridges using intents, services, and whatnot, but nothing worked. Does anyone has a trick up their sleeve?

And yes, I know, you should not have to restart your app, but we need to be able to change environments and this is the simplest way to do it. It worked that way since forever on HoloLens, people are used to it.

Suggestions welcome. The workaround now is to terminate the app (that works fine) and have the user restart it themselves, but it’s a bit meh.

Unfortunately, there’s no way to have an android app restored itself without the worker that you mentioned.