docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Validate your project

    The OpenXR package defines a set of rules for the Project Validation system. These rules check for possible incompatibilities between OpenXR and the project configuration.

    Some of the rules serve as warnings for possible configuration problems; you are not required to fix these. Other rules flag configuration errors that would result in your app failing to build or not working once built. You must fix these errors.

    If you have the XR Core Utilities 2.1.0 or later installed, you can access the Project Validation status in the Project Settings window under XR Plug-in Management (menu: Edit > Project Settings). These results include the checks for all XR plug-ins that provide validation rules.

    project-validation

    You can also open a separate OpenXR Project Validation window for OpenXR (menu: Window > XR > OpenXR > Project Validation). This window only shows the validation results related to the OpenXR plug-in and features.

    feature-validation

    Rules that pass validation are not shown unless you enable Show all.

    Some rules provide a Fix button that updates the configuration so that the rule passes validation. Other rules provide an Edit button that takes you to the relevant setting so that you can make the necessary adjustments yourself.

    You can enable Ignore build errors to bypass the pre-build validation check. However, any misconfigured features in your app might not work at runtime.

    Validation issues reported in XR Plug-in Management

    loader-with-issues

    Clicking on either the validation warning or the error icon brings up the Validation window.

    Validation issues reported in features pane

    features-with-issues

    Clicking on either the validation warning or the error icon brings up the Validation window.

    Validation issues reported in build

    build-with-issues

    Double-clicking on build warnings or errors from validation brings up the Validation window.

    In This Article
    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)