Search Issue Tracker
Fixed in 2022.1.X
Votes
0
Found in
2019.4
2020.3
2020.3.16f1
2021.1
2021.2
2022.1
Issue ID
1360614
Regression
No
[FBX] OnPostprocessMaterial isn't called when material creation mode is MaterialDescription
Reproduction steps:
1. Open user's the attached project "FbxDescriptorImport.zip"
2. Open Assets > Scenes > SampleScene
3. Right-click on "cube_red-diffusecolor-map" and refresh
4. Observe Console: "post:" is not logged
5. Select "cube_red-diffusecolor-map" > Material > Material Creation Mode > Standard (Legacy) and apply
6. Observe Console: "post:" is logged
Expected results: OnPostprocessMaterial is called when material creation mode is MaterialDescription
Actual results: OnPostprocessMaterial isn't called when material creation mode is MaterialDescription
Reproduced in: 2019.4.30f1, 2020.3.19f1, 2021.1.22f1, 2021.2.0b13, 2022.1.0a11
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
- Single particles in the Particle System randomly scale out when the simulation is playing
- Tilemap.SetTile() does not change the tiles when called from Update() in the Player
- Custom Shader Material is pink when the project is built for the WebGL platform
- New 3D URP Sample Scenes Project is created with an invalid dependency on com.unity.render-pipelines.universal-config when creating the Sample Project for the first time
- Canvas Scaler causes abnormal scaling of Canvas elements in Play Mode when UI Scale Mode is set to "Constant Physical Size" and any Editor window is moved to a differently scaled monitor and is interacted with
Resolution Note (fix version 2022.1):
This issue is by design.
The new MaterialDescription mode calls the new OnPreprocessMaterialDescription which gives more details for Material manipulations during import than the old callback. In that case, the old OnPostprocessMaterial is not called anymore to avoid overlap with old and less specific implementations.
The documentation has been updated to reflect this separation between the different settings and the AssetPostprocessor callbacks involved.