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
- Shader warning in 'Hidden/Core/DebugOccluder' thrown after building High Definition 3D Sample Template
- Audio Mixer “+” buttons overlap with UI when the Audio Mixer window layout is set to Horizontal
- "Clear" button in the "Set project display name" closes all the pop-up instead of clearing just a name from the field
- Video Player renders no video on specific devices when using Vulkan
- The Editor slows itself down by showing tons of warnings when the majority of TransformAccessArrays content are NullRefs
Resolution Note (fix version 2019.1):
Fixed in 2019.2.0a7
Backported to 2019.1.0b3