Search Issue Tracker

Fixed in 2022.1.X

Votes

0

Found in

2019.4

2020.2

2020.3

2021.1

2021.2

2021.2.0a15

Issue ID

1333985

Regression

Yes

Other ScriptedImporters in the Project are not registered when a ScriptedImporterAttribute contains duplicates in overrideExts

Asset - Importers

-

How to reproduce:
1. Open the user's attached project
2. In the Project window observe the 'CompanionCube' Asset

Expected result: The Asset has an importer
Actual result: The Asset doesn't have an importer

Reproducible with: 2019.4.0f1, 2019.4.26f1, 2020.2.7f1, 2020.3.8f1, 2021.1.7f1, 2021.2.0a16
Not reproducible with: 2018.4.34f1

Notes:
- When adding [ScriptedImporter] attribute with duplicate extensions the following error appears in the Console:
ArgumentException: An item with the same key has already been added. Key: [cube, False]

  1. Response avatar

    Resolution Note (fix version 2022.1):

    Fixed in: 2022.1.0a16

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.