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.

Question How to avoid loading MARS?

Discussion in 'Unity MARS' started by hmkn, Dec 22, 2020.

  1. hmkn


    Nov 7, 2019
    When I enter play mode that on the scene I would not like to use MARS,
    I find MARS automatically loads modules if the MARS plugin is installed and it leads an error.
    Is there some way to unload or avoid registering MARS in other than AR scenes?

    MARS Session not present in the scene - creating one now.
    Adding MARS Session component to AR Session Origin game object.
    Adding MARS Camera component to main camera.
  2. mtschoen


    Unity Technologies

    Aug 16, 2016
    Hi there! This should only happen if you have a MARS proxy in the scene, and if that's the case a MARSSession should have been created for you when it was added. Can you post the stack trace associated with that log message? This will help us determine what is causing it.