docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Validate

    Validate()

    Run consistency checks on a query description, and throw an exception if validation fails.

    Declaration
    [Conditional("ENABLE_UNITY_COLLECTIONS_CHECKS")]
    [Conditional("UNITY_DOTS_DEBUG")]
    public void Validate()
    Exceptions
    Type Condition
    EntityQueryDescValidationException

    Thrown if the query fails validation. The exception message provides additional details.

    In This Article
    Back to top
    Copyright © 2024 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)