How to reproduce:
1. Open the user’s attached “UrpMatConversion” project
2. In the main menu bar, select “Edit” → “Preferences…”
3. Select “Diagnostics” in the Preferences window
4. Click the “I understand, show me the settings” button if you do not have Diagnostics enabled
5. Expand the “Editor” menu
6. Enable the "ModuleManagerLogging", "PreviewSceneActivity" and "WriteOutCallStackTraces" flags
7. In the Project window, right-click on Assets/MyScript and select “Reimport”
8. Observe the Console
Expected result: Only one unclearable log message is shown: “Diagnostic switches are active and may impact performance or degrade your user experience.”
Actual result: Two identical unclearable log messages are shown
Reproducible with: 2021.3.8f1, 2022.1.12f1, 2022.2.0b3, 2023.1.0a5
Couldn’t test with: 2020.3.37f1 (Diagnostics menu not available)
Reproducible on: Windows 10
Notes:
1. Restarting the Editor resets the log amount to one
2. Some versions may stack up more than 2 unclearable logs (2021.3.8f1, for example)