docs.unity3d.com

    No Jpgs Validation

    What is this validation?

    This validation ensures that there are no files ending in ".jpg" or ".jpeg" found within the structure of a package. However, these files are allowed to be found in the "Documentation~" or "Tests" folders since they do not suffer as much from compression issues.

    Why do we need this validation?

    The final build suffers when using assets made with compressed file formats such as ".jpg" or ".jpeg". This validation ensures that there are no images within a package (".jpg" and ".jpeg") that will suffer from these issues.

    * This validation prevents all jpg extension variations including:

    .jpg
    .jpeg
    .jpe
    .jif
    .jfif
    .jfi
    

    Errors

    Package contains jpgs

    This error occurs when one or more jpg files (".jpg" or ".jpeg") are found within the structure of your package. The prohibited files can be found by viewing the results of the validation and examining the logs. To resolve this error, remove these files or convert them to a different file format (".png" for example), then run the validation again.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023