Search Issue Tracker
Fixed in 2019.1.X
Votes
0
Found in
2019.1.0a10
2019.1.0a14
2019.2.0a1
Issue ID
1118475
Regression
Yes
BuildExternalObjectsCache throws NullReferenceException when inspecting multiple .fbx assets at once
How to reproduce:
1. Open the user-provided project
2. In Project window, select "cone_ground_smoke.fbx" asset
3. Holding "Ctrl" key, select "spiral mesh vertical.fbx" as well
4. Observe Console window
Expected result: No errors are thrown.
Actual result: NullReference exception is thrown.
Reproducible with - 2019.1.0a10, 2019.1.0a14, 2019.2.0a2
Not reproducible with - 2017.4.19f1, 2018.3.3f1, 2019.1.0a9
Error thrown:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.ModelImporterMaterialEditor.BuildExternalObjectsCache () (at C:/buildslave/unity/build/Modules/AssetPipelineEditor/ImportSettings/ModelImporterMaterialEditor.cs:212)
UnityEditor.ModelImporterMaterialEditor.OnEnable () (at C:/buildslave/unity/build/Modules/AssetPipelineEditor/ImportSettings/ModelImporterMaterialEditor.cs:183)
UnityEditor.AssetImporterTabbedEditor.OnEnable () (at C:/buildslave/unity/build/Modules/AssetPipelineEditor/ImportSettings/AssetImporterTabbedEditor.cs:23)
UnityEditor.ModelImporterEditor.OnEnable () (at C:/buildslave/unity/build/Modules/AssetPipelineEditor/ImportSettings/ModelImporterEditor.cs:19)
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
- "TMP_FontAsset.ClearAtlasTextures" set the size of Atlases to 1x1 when "setAtlasSizeToZero" is true resulting in a constant clearing of Atlases of size 1x1 on Editor Shutdown
- Build fails with cast error when building Linux Player
- Mouse cursor swapping between Input and Select mode when hovering over the Grid and Snap input field
- "Terrain" Component values reset when painting over a terrain border while two Inspector tabs are open
- [VFX] Tooltips are not shown anymore
Resolution Note (fix version 2019.1):
Fixed in 2019.2.0a7
Backported to 2019.1.0b3