Search Issue Tracker
Fixed in 2022.1.X
Votes
0
Found in
2020.2
2020.3
2021.1
2021.2
2021.2.0a15
Issue ID
1334266
Regression
No
GetAvailableImporterTypes returns duplicates AssetImporter types
How to reproduce:
1. Open the user's attached project
2. In the Project window select the 'Scenes' folder
3. In the top bar menu select 'BugRepro' > 'GetImporterOverride'
4. Observe the Console
Expected result: GetAvailableImporterTypes should return nothing for folders and should never include UnityEditor.AssetImporter in the returned array
Actual result: GetAvailableImporterTypes returns array of [UnityEditor.AssetImporter, UnityEditor.AssetImporter]
Reproducible with: 2020.2.7f1, 2020.3.8f1, 2021.1.7f1, 2021.2.0a16
Cannot test with: 2018.4.35f1 (PrecompiledAssemblyException), 2019.4.25f1 (due to script errors)
Notes:
- The issue is also reproducible with other types of Assets
- The logs return 'AvilableOverrides: UnityEditor.AssetImporter, UnityEditor.AssetImporter' or 'AvilableOverrides: UnityEditor.ModelImporter, UnityEditor.AssetImporter' depending on the Asset type
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [WebGL] ExposedReference<Transform>.Resolve() is not generated correctly in WebGL
- Resizing Profiler Module Details panel and releasing mouse button outside Unity doesn't cancel resize
- "Auto-hide gizmos" preference is not saved when reopening the project
- Sampling a custom depth texture on a machine with a GTX 1080 makes object's textures display the wrong color when in Play mode or Player
- Terrain is missing the Hidden/TerrainEngine/Details/WavingDoublePass shader when AssetBundles are built in older Unity Versions
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0a16