Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2021.3.X
Votes
0
Found in
2019.4
2020.3
2021.1
2021.2
2021.2.0b14
2022.1
Issue ID
1370645
Regression
No
Glossiness is not imported when importing FBX materials through the script
How to reproduce:
1. Open project "UrpImportBug.zip"
2. Observe the "FbxWithShininess" glossiness in the Scene window
3. Open script "MaterialDescriptionOverrides.cs" (Assets>MaterialDescriptionOverrides)
4. Uncomment 47th line "material.SetFloat("_Glossiness", glossiness);" and save the script
5. In the Editor go to Project window and in the search bar write "FbxWithShininess"
6. Select "FbxWithShininess" right-click and choose Reimport
7. Repeat step 2
Expected result: Glossiness is imported without using a script
Actual result: Glossiness is only set when using a postprocessor as a workaround
Reproducible with: 2019.4.31f1, 2020.3.20f1, 2021.1.25f1, 2021.2.0b16, 2022.1.0a12
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
- Selector gets stuck in UI if scroll is used while dragging
- Created asset is placed in a new folder when creating a new folder and instantly creating an asset by clicking somewhere else
- Selecting and deleting transition in Animator does not add to Undo History when animation is previewed in Inspector
- GameObjects remain static when updating constraints of PhysicsJoint with "Enable Sleeping" selected in Havok Physics Configuration
- [iOS] Touch input is not clocked and UI is unresponsive when the application is paused mid-drag without lifting the finger
Resolution Note (fix version 2022.1):
Fixed in 2022.2.0a4
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.2f1
Resolution Note (fix version 2021.3):
Fixed in 2021.3.5f1