Search Issue Tracker

Active

Under Consideration for 6000.5.X

Votes

0

Found in

6000.0.65f1

6000.2.15f1

6000.3.4f1

6000.4.0b4

6000.5.0a4

Issue ID

UUM-131964

Regression

No

Importer type is not automatically applied when changing Importer type in a Focused Inspector and Errors are logged when Reverting changes

Asset Importers

-

Steps to reproduce:

  1. Open the attached Project
  2. In the Project Browser select the "supplies_objects (2).psd" file
  3. Right click it and select "Properties..."
  4. Switch the Importer type with the dropdown menu at the top of the Focused Inspector from Texture to PSD
  5. Scroll down and click the "Revert" button
  6. 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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.