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
- Scene view camera speed pop-up appears empty or cut off when Scene view is very narrow
- UnityEvent does not get pasted to a uGUI component when trying to copy it from a Script
- Overlays are focused when using the "Frame Selected in Window under Cursor" Shortcut just after Editing Overlay Fields
- Changes to Splash Screen in inactive Build Profile are not displayed in the Build Profile Splash Screen Preview
- [Package Manager] Vulkan Native Rendering Plugin can no longer intercept Vulkan Initialization, as it is loaded later when added via Package Manager
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0a16