docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Install Unity Mars

    Perform the following steps to install Mars in a project:

    1. Download and import the Mars installer asset package
    2. Add the provider plug-ins for the XR platforms and devices that you plan to support.
    3. Validate the project settings using the Mars Validation utility.
    4. Add Mars templates and assets to the project.

    See Upgrade an existing Mars project for instructions about updating an existing Mars project.

    Download and import the Mars installer asset package

    To install Mars in a project:

    1. Download the installer asset package: Unity Mars Installer.

    2. Open the project in Unity or create a new project.

    3. Import the package with the menu command: Assets > Import Package > Custom Package.

    4. In the File Chooser, navigate to and select the Mars asset package where you downloaded it.

    5. Click Open.

    6. Leave all assets in the package selected.

    7. Click Import.

    Unity imports the asset package and sets up Mars in the project. This process involves downloading and adding additional Package Manager packages. It can take a few minutes and requires a stable internet connection.

    Add XR provider plug-ins

    To build XR applications, you must enable the provider plugins for the AR and MR platforms that you want to support in the project. For example, you must enable ARCore for Android and ARKit for iOS:

    1. Open the Unity Project Settings window (menu: Edit > Project Settings).

    2. Select the XR Plug-in Management settings section.

    3. Select the tab representing a platform that you plan to support (Windows, Android, iOS).

    4. Enable the Plug-in Provider options for that platform.

    5. Repeat for additional platforms.

    6. Check that the settings for each plug-in are appropriate for your project.


      The ARCore provider plugin enabled for the Android platform

    Tip

    If you don't see a tab for a platform you want to support, then you must use the Unity Hub to install that platform module for the current Unity Editor. See Add modules in the Unity Hub documentation for instructions.

    Validate Mars project settings

    Mars includes a built-in validation utility that checks for potential problems and conflicts in your project settings. You can access this utility in the Mars section of the Project Settings window.

    1. Open the Project Settings window (menu: Edit > Project Settings).
    2. Select the Project Validation page in the Mars settings section.
    3. If the utility lists errors or warnings, use the Fix and Edit buttons to correct them.


    The Mars Project Validation utility flagging a number of configuration issues

    See Project Validation for more information about the utility.

    Add templates and sample assets

    Mars includes a variety of templates, samples, and optional assets. You can add these assets from the Mars Content Manager window.

    To install the additional templates and samples (after installing Mars):

    1. Open the Mars Content Manager (menu: Window > Content Manager).

      image alt text

    2. Select the item you want to install.

    3. Click Install.

    Note

    The Mars templates and sample assets are added to your project Asset folder. Unity recommends that you keep these files in your project and track them in version control when using Unity MARS.

    Upgrade an existing Mars project

    You can update Mars from the Package Manager window:

    1. Open the Unity Package Manager window (menu: Window > Package Manager).
    2. Select Unity Mars in the list of packages in the project.
    3. If a newer version of Mars is available,then you can click the Update to n.m.p button at the bottom of the Package Manager window to update to that version. You can also expand the list of versions with the expand (triangle) icon in front of the Unity Mars name. Click See other versions for the full list of available versions.
    4. Check the Mars Project Validation utility to see if there are configuration errors or warnings.
    Note

    When you update a package with the Package Manager, Unity also updates any packages on which it depends, if required to maintain compatibility. However, the updated version of a dependent package is not guaranteed to be the latest one available. You should double check that the additional packages installed or updated are the versions you want to use.


    Did you find this page useful? Please give it a rating:

    Thanks for rating this page!

    Report a problem on this page

    What kind of problem would you like to report?

    • This page needs code samples
    • Code samples do not work
    • Information is missing
    • Information is incorrect
    • Information is unclear or confusing
    • There is a spelling/grammar error on this page
    • Something else

    Thanks for letting us know! This page has been marked for review based on your feedback.

    If you have time, you can provide more information to help us fix the problem faster.

    Provide more information

    You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:

    You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:

    You've told us there is information missing from this page. Please tell us more about what's missing:

    You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:

    You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:

    You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:

    You've told us this page has a problem. Please tell us more about what's wrong:

    Thank you for helping to make the Unity documentation better!

    Your feedback has been submitted as a ticket for our documentation team to review.

    We are not able to reply to every ticket submitted.

    In This Article
    • Download and import the Mars installer asset package
    • Add XR provider plug-ins
    • Validate Mars project settings
    • Add templates and sample assets
    • Upgrade an existing Mars project
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)