Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question How to restart the whole application?

Discussion in 'AR' started by AliCanKeskin, Aug 19, 2022.

  1. AliCanKeskin

    AliCanKeskin

    Joined:
    Jun 7, 2022
    Posts:
    17
    Hello, I am developing an application with OpenXR to HoloLens2. At some point I want to restart the whole application. Not the level/scene though, I need to restart the whole application so that OpenXR can reinitialize the whole instance and session. Any way to do that ? Maybe with a C++ code that I can put it into my native library that I can call from Unity?
     
  2. AliCanKeskin

    AliCanKeskin

    Joined:
    Jun 7, 2022
    Posts:
    17
    Nobody? Maybe anyone knows how to do it with C++ code? How to restart the app from a native C++ code?
     
  3. thep3000

    thep3000

    Unity Technologies

    Joined:
    Aug 9, 2013
    Posts:
    399
    andyb-unity likes this.