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
- "Error Pause", Player logging, and the searchbar tools disappear when the Console window is below 420px width
- “'Object.FindObjectOfType<T>()' is obsolete: 'Object.FindObjectOfType has been deprecated” warning displays incorrect deprecated method replacement
- World Space UI element is invisible near the camera in Prefab Edit Mode when the Canvas has a non-default Z position
- URP 2D Sprite Lights are rendered in a blocky pattern on Nvidia 5000 series GPUs when using DX11
- Editor freezes and constantly repaints when the Open XR's Project Validation Player Settings are opened
Resolution Note (fix version 2019.1):
Fixed in 2019.2.0a7
Backported to 2019.1.0b3