Search Issue Tracker
By Design
Votes
0
Found in
2018.4
2018.4.14f1
2020.2
Issue ID
1246564
Regression
No
[Feature Request] ModelImporter SkeletonPath is not exposed and cannot be used in custom importers
Generating an Avatar Mask skeleton from the generated avatar is impossible due to a check inside "AvatarMaskInspector.cs: ImportAvatarReference()". In that method, a check is made to determine if the importer used inherits ModelImporter. If not, the 'Import Skeleton' button is simply grayed out and the avatar is unusable. This implies that
user should inherit from ModelImporter rather than ScriptedImporter, but ModelImporter is not made to be inherited.
Expected result: User has access to SkeletonPath via ScriptedImporter
Actual result: User doesn't have access to the SkeletonPath and thus recreating Unity's default model import workflow is impossible
Reproducible with: 2018.4.25f1, 2019.4.4f1, 2020.1.0b16, 2020.2.0a18
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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note (2020.2.X):
The Model Importer doesn't support plugins or extensions by-design.
Whilst the team is having a wider discussion about making that happen in the future, I would like to close this specific bug because it would form a part of a much larger effort/feature.