Steps to reproduce:
- Open any Project
- Add the attached folder to your Project's Packages folder
- In the Project Browser select the "package.json" that's under the "ff" directory in your Packages folder
- Click on the kebab menu icon in the top right corner of the Inspector and choose "Properties..."
- In the Inspector switch the Importer type to Text
Actual results: Error "The previous instance of UnityEditor.TextScriptImporterEditor has not been disposed correctly. Make sure you are calling base.OnDisable() in your AssetImporterEditor implementation.
UnityEditor.EditorGUI/PopupCallbackInfo:SetEnumValueDelegate (object,string[],int)" is logged in the Console
Expected results: No errors are logged when switching Importer types and a focused Inspector is opened
Reproducible with versions: 6000.0.65f1, 6000.2.15f1, 6000.3.4f1, 6000.4.0b4, 6000.5.0a4
Tested on (OS): Windows 11