Steps to reproduce:
- Open the attached Project
- In the Project Browser select the "supplies_objects (2).psd" file
- Right click it and select "Properties..."
- Switch the Importer type with the dropdown menu at the top of the Focused Inspector from Texture to PSD
- Scroll down and click the "Revert" button
- Change any value and select "Apply"
Actual results: Error "Importer reports modified values after reset.
UnityEditor.GUIView:ProcessEvent (UnityEngine.EntityId,intptr,bool&)" is logged when reverting change
Error "Failed to import file Assets/supplies_objects (2).psd. Error: Sequence contains more than one matching element
at System.Linq.Enumerable.SingleOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x0004a] in <939b343ae2bf4eacb11607f662fdf8aa>:0
at UnityEditor.U2D.PSD.TextureImporterUtilities.GetPlatformTextureSettings (UnityEditor.BuildTarget buildTarget, System.Collections.Generic.List`1[UnityEditor.TextureImporterPlatformSettings]& platformSettings) [0x00029] in .\Library\PackageCache\com.unity.2d.psdimporter@4c203148294d\Editor\TextureImporterUtilities.cs:14" when applying change after reverting
Expected results: Asset Importer in a Focused Inspector behaves the same as the docked Inspector when changing Importer types, no Errors are present when applying or reverting changes
Reproducible with versions: 6000.0.65f1, 6000.2.15f1, 6000.3.4f1, 6000.4.0b4, 6000.5.0a4
Tested on (OS): Windows 11