Search Issue Tracker
Third Party Issue
Votes
1
Found in
2020.1.0a19
2020.3
2020.3.4f1
2021.1
2021.2
2022.1
Issue ID
1360108
Regression
Yes
Material names are displayed with the ending "Mat" after importing *.obj and *.mtl files
How to reproduce it:
1. Create a new empty project
2. Download "Test.zip" and extract it
3. Move "Object.obj" and "materials.mtl" to the Project window
4. Select "Object.obj" and observe the Materials list in Inspector window
Expected result: Material names are displayed without ending "Mat"
Actual result: Material names are displayed with the ending "Mat"
Reproducible with: 2020.1.0a19, 2020.3.17f1, 2021.1.19f1, 2021.2.0b10, 2022.1.0a7
Not reproducible with: 2019.4.30f1, 2020.1.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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (2022.1.X):
The regression was caused by a change in the FBX SDK.
I submitted a fix to Autodesk, this might be resolved in the next FBX SDK release.
Note that material names that include spaces are considered invalid by the OBJ specification so other issues may occur. The best way to fix this is to prevent the exporter from generating material names with spaces.