Search Issue Tracker
Fixed in 2022.2.X
Votes
0
Found in
2019.4
2020.3
2021.2
2022.1
2022.1.0b2
2022.2
Issue ID
1394085
Regression
No
OnPostprocessGameObjectWithUserProperties isn't called when setting extraUserProperties
Reproduction steps:
1. Open user-attached project
2. Select Barrel.fbx in Packages\Model Import Bugs\Runtime folder
3. Toggle the "Optimize" Checkbox in the header of the Inspector
4. Press Apply
5. Inspect Console
Expected result: There is a log in the Console
Actual result: There are no logs in the Console
Reproducible with: 2019.4.36f1, 2020.3.28f1, 2021.2.11f1, 2022.1.0b7, 2022.2.0a4
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 (fix version 2022.2):
Api Documentation is changed to reflect actual behavior
From : Additional properties to treat as user properties. Specify the names of additional properties to pass to an [[AssetPostprocessor]] as user properties.
To: A list of default FBX properties to treat as user properties during OnPostprocessGameObjectWithUserProperties.
Specify the names of default FBX properties to be consider as extra user properties to pass to AssetPostprocessor.OnPostprocessGameObjectWithUserProperties.
Code example added as well added in scripting API for ModelImporter.extraUserProperties
Fixed inĀ 2022.2.0a12