docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Frequently Asked Questions (FAQ)

    Can I use photogrammetry scans?

    Yes. When creating a new Simulation Environment, you can import photogrammetry scans or other point cloud data, and then proceed with the Environment Settings, Plane Extraction, and XRay setup.

    How do I move in Device View?

    First, press the Play button in the View toolbar. Then, hold the right mouse button to look around, and move using WASD controls. Use Q and E to lower and raise your height. This view is intentionally restricted to human-like movement; if you want free camera controls in the simulation scene, switch to the As Scene view type from the View toolbar. See the UI Overview for more information on Simulation and Device Views.

    Can I use Play Mode simulation with the Device Simulator?

    Yes. In order to use Unity MARS simulation controls in the Device Simulator view, the Input System package is required. Any version later than 1.0.0 will work, and the Active Input Handling setting in Player Settings must be set to Input System Package (New) or Both.

    How do I use face detection and world/plane tracking at the same time?

    Unity MARS supports designing these experiences, but there are no devices that currently support the required feature set. It would be possible with a face tracking provider that works on top of the ARKit or ARCore video stream, rather than exclusive to it.

    How can I do the face animation motion-capture with a mobile phone that I saw at Unite Berlin?

    You might be thinking of the Facial AR Remote project. You can download it from its own GitHub repository. Our team is working on building an AR face feature set into Unity MARS, but for now these are two separate projects.

    I built my Scene to a device and all I see is a black screen. What went wrong?

    This could happen for a number of reasons. Try using the Project Settings > Project Validation Window to correct common project setup issues. Then, double-check the following:

    • Ensure you have the ARCore XR Plugin for Android or ARKit XR Plugin for iOS installed via Package Manager.
    • Ensure you have Unity MARS AR Foundation Providers package installed via the Package Manager. If you upgraded Unity MARS or directly add the Unity MARS Package from the package manager Unity MARS AR Foundation Providers may not be installed or at the correct version.
    • The FunctionalityInjectionModule in Assets/ModuleLoader/Settings/Resources has a Default Island set, and this defines Default Providers including ARFoundationPlaneProvider, etc. from the AR Foundation Providers package.
    • Refer to AR Background Setup in Unity MARS for Unity MARS setup.
    • If you are using URP (Universal Render Pipeline; formerly Lightweight Render Pipeline (LWRP)), ensure that the AR Background Renderer Feature is added to your SRP configuration (generally onto the ForwardRenderer asset for URP projects). The AR Background Render Feature requires AR Foundation 3.0.1 or greater. For more information, refer to this additional documentation to configure an AR Foundation project with a URP.
    • Note that Custom Scriptable Render Pipelines and High Definition Render Pipeline (HDRP) do not support the AR Background setup provided by AR Foundation and will require you to create a custom implementation.
    • Check the device log using adb logcat or running the app through XCode. Unity logs errors on-screen if you create a development build, but you might miss some warnings.

    I set up face tracking correctly but it doesn't work on my iOS device. Which devices are supported?

    ARKit face tracking support is exclusive to newer devices that support face ID. A listing of supported devices is here: https://support.apple.com/en-us/HT209183.

    I am using SRP/URP/HDRP and see a black screen in the Editor Play Mode. What went wrong?

    Enable the UseFallbackCompositeRendering checkbox in the CompositeRenderModuleOptions scriptable object under Assets/MARS/UserSettings/ to combine the AR environment with your Scene instead of trying to composite it separately. Alternatively, go to Project Settings > MARS > Editor Visuals, navigate to the Composite Render section, and enable the Use Fallback Composite Rendering option.

    I am using URP and the Room X-Ray is not working, appears flipped or backward. What went wrong?

    Enable FlipXRayDirection in the XRayOptions. Alternatively, go to Project Settings > MARS > Editor Visuals, navigate to the X-Ray Module section, and enable the Flip X Ray Direction option.

    Why am I seeing artifacts on occlusion and mask materials while using SRP/URP/HDRP?

    Occlusion shaders mask an area in the current render target to see the color buffer before it. In some cases this can lead to artifacts in the render sometimes referred to as "Hall of Mirrors". If you are seeing this in the game view make sure you are using URP Forward Renderer with the ARBackgroundRendererFeature assigned. If you are seeing artifacts in the scene view try disabling the Skybox rendering in the view also make sure your editor Background color set to an is opaque alpha in Preferences > Colors.

    I am getting a crash on macOS Catalina when building for device X, what can I do?

    The Post Processing package can cause crashes on macOS Catalina on some devices. To fix this issue, follow these steps:

    1. Go to the Player Settings window (menu: Edit > Project Settings > Player Settings) and select your build platform.
    2. Expand the Other section.
    3. In the Scripting Define Symbols field, remove UNITY_POST_PROCESSING_STACK_V2.
    4. Remove the Post Processing package.

    Why am I getting rendering artifacts in the simulated environment?

    World scale can cause rendering artifacts in the simulated environment as the scale moves further away from 1. This can cause shadows to appear cut off in the simulation environment.

    I get strange behaviors when working with Faces. What's wrong?

    Face workflows and content placement do not behave the same on all platforms. This includes geometry being flipped or not correctly matching the size of the matched face.

    Unity MARS is slow, what can I do?

    Some debug simulation playback options, such as raycast visualization, greatly affect performance. To improve performance, disable these options in Project Settings underMARS > Debug Settings > Simulated Data Discovery).

    I selected X condition and cannot see the condition handle right away.

    Condition tool handles are only visible in the active view and might require a click in the view before becoming interactable.

    I am getting lots of compiler errors, what happened?

    This could happen when you have different versions of AR Foundation matching ARCore, ARKit, Hololens, or Magic Leap versions. Make sure that all versions you are using in your project match. For more information, see AR Foundation Providers package documentation to see how to handle package versions.

    Where can I find Unity MARS examples?

    This package comes with sample content that you can optionally install from the Package Manager window (menu: Window > Package Manager, then search for Unity MARS). To import the samples, click the Import into project button.

    FAQ Unity MARS samples

    Which features of Unity MARS are disabled if I don't have an active license? Will builds work without a license? What happens if I don't have Internet access?

    In short: without an active license, most of the MARS workflows and the simulation are disabled, but built apps will be unaffected. Built apps work with or without an active license. All app builds are considered entitled, so you can make small updates to your app even after your license has expired and all runtime systems will continue working. Unity MARS licensing will never stop your built app from working. Once a user is entitled, their local entitlement will persist for two weeks (14 days), even if offline.

    In the Editor, scenes that don't use MARS should not be affected. Scenes that use MARS will have the following features disabled when the user is not entitled:

    • MARS windows, such as the Simulation View, Device View, and the MARS panel will not be functional.
    • Simulation environments will not load in Simulation or Play mode.
    • The core Proxy database matching system will not be functional.

    My Simulated Content is displaying in the Simulation and Device View but not rendering in the Game View, what happened?

    Simulation rendering does not work correctly in OpenGLCore in the Game View even though it does render in the Simulation and Device View. If the title of your Unity Editor window ends with where X is some version, you are using OpenGL for your current graphics API. To change this go to Project Settings > Player and under the Standalone Settings tab (the first tab that has the monitor icon) make use you are not using OpenGLCore or another OpenGL graphics API for your current Editor OS Platform. For Windows and macOS you should be able to Enable Auto Graphics API for your Platform. You will then need to restart your Editor for the changes to take effect.


    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
    • Can I use photogrammetry scans?
    • How do I move in Device View?
    • Can I use Play Mode simulation with the Device Simulator?
    • How do I use face detection and world/plane tracking at the same time?
    • How can I do the face animation motion-capture with a mobile phone that I saw at Unite Berlin?
    • I built my Scene to a device and all I see is a black screen. What went wrong?
    • I set up face tracking correctly but it doesn't work on my iOS device. Which devices are supported?
    • I am using SRP/URP/HDRP and see a black screen in the Editor Play Mode. What went wrong?
    • I am using URP and the Room X-Ray is not working, appears flipped or backward. What went wrong?
    • Why am I seeing artifacts on occlusion and mask materials while using SRP/URP/HDRP?
    • I am getting a crash on macOS Catalina when building for device X, what can I do?
    • Why am I getting rendering artifacts in the simulated environment?
    • I get strange behaviors when working with Faces. What's wrong?
    • Unity MARS is slow, what can I do?
    • I selected X condition and cannot see the condition handle right away.
    • I am getting lots of compiler errors, what happened?
    • Where can I find Unity MARS examples?
    • Which features of Unity MARS are disabled if I don't have an active license? Will builds work without a license? What happens if I don't have Internet access?
    • My Simulated Content is displaying in the Simulation and Device View but not rendering in the Game View, what happened?
    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)