Unity-Technologies / ProjectAuditor

Project Auditor is an experimental static analysis tool for Unity Projects.
Other
789 stars 65 forks source link

Change to ensure default settings are (re)created if needed #212

Closed mtrive closed 11 months ago

mtrive commented 11 months ago

Description

Fix for invalidated default ProjectAuditorSettings:

Both Play Mode and builds invalidated the default ProjectAuditorSettings object, if the ProjectAuditorWindow was open at that time.

The added logic to recreate the default settings when returning them from the provider, if they are null.

Checklist

Before review: