How the Check Works
This check examines the scenes listed in your project’s build settings. It iterates through the scene list, checking whether each scene’s file path is valid and points to an existing scene file. If it encounters a scene that is either missing or invalid, it logs it as an issue, indicating that the scene needs attention.
When to Use This Check
- Scene Management Integrity: Ensure that your scene management remains robust by verifying that scenes referenced in the build settings are valid and present.
- Prevent Build Errors: Catch missing or invalid scenes before building your project to avoid build errors related to non-existent scenes.
- Maintain Project Health: Keep your project free from unresolved or invalid scene references, contributing to a healthier and more reliable project.
How to Use the Check
- Configuration: No specific configuration is needed for this check.
- Performing Checks: Call the
PerformCheckForProject()
method to initiate the check. If any missing or invalid scenes are found in the build settings, they will be logged as issues.
Methods
PerformCheckForProject()
: Performs the check for valid scenes in the build settings. It identifies and logs any missing or invalid scenes.
Attributes
longDescription
: Provides a description of what this check does.