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
- [HDRP] Decal Projector with layer mask "nothing" doesn't affect transparent objects when Decal Layers are disabled in frame settings
- "MonoBehaviour.OnApplicationQuit" is still called when quitting is canceled by “Application.wantsToQuit“ returning false
- [2D SG/VFX] Surface options are not shown in Output Inspector when 2D Sprite SG is assigned to VFX
- Collisions are incorrectly registered when setting a joint motor every frame causes
- Terrain shadows flicker while moving the Camera in the Player when Terrain contains GPU instanced materials
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0a16