Search Unity

  1. Read here for Unity's latest plans on OpenXR.
    Dismiss Notice

Help Wanted How to avoid loading MARS?

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

  1. hmkn

    hmkn

    Joined:
    Nov 7, 2019
    Posts:
    23
    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

    mtschoen

    Unity Technologies

    Joined:
    Aug 16, 2016
    Posts:
    139
    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.
     
unityunity