docs.unity3d.com
Search Results for

    Mandatory Package Unity Fields Validation

    What is this validation?

    This validation ensures that a package has unity and unityRelease fields values set on the package manifest. Also, it ensures the values are greater than the minimum required version and that the format of those values is correct.

    Why do we need this validation?

    The Package Manager uses unity and unityRelease fields to establish the minimum compatible editor version that the package supports. These two fields help Package Manager decide if a package should be displayed or not on the Package Manager UI.

    Errors

    Package unity field mandatory

    The unity field is mandatory. This field indicates the lowest Unity version the package is compatible with. The expected format is . (e.g 2018.4). To specify a minimum Unity release version, please use a combination of unity and unityRelease fields, for example:

    • unity: 2018.4
    • unityRelease: 0b4 To point to a specific patch, use the unityRelease property as well.

    Package unity field min version

    The unity field value in package manifest is smaller than 2021.3, which is the minimum version that could be specified. This value must be equal to or greater than 2021.3. Please update the value accordingly and run the validation again.

    Pakage unityRelease field mandatory

    The unityRelease field is mandatory. This field indicates the lowest Unity patch that the package is compatible with. The expected format is (e.g. 0b4). To specify a minimum Unity release version, please use a combination of unity and unityRelease fields, for example:

    • unity: 2018.4
    • unityRelease: 0b4

    Package unityRelease field min version

    The unity field value in package manifest equals 2021.3 while the unityRelease field value is smaller than 26f1 (2021.3.26f1 is the minimum version that could be specified). If unity value is equal to 2021.3, then the unityRelease field value must be equal or greater than 26f1. Please update the value accordingly and run the validation again.

    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)