- Home /
Strange error associated with imported .blend file
It's no secret. Importing blend files into Unity is annoying. This time, the fbx import was not carrying over all the animations, so I had no choice but to import the .blend file directly. Everything seemed to be going ok until I set up the model, pressed play, and got the following error four times:
NullReferenceException: (null) UnityEditor.SerializedObject..ctor (UnityEngine.Object[] objs) (at C:/buildslave/unity/build/artifacts/generated/common/editor/SerializedPropertyBindings.gen.cs:72) UnityEditor.AssetImporterInspector.GetSerializedObjectInternal () (at C:/buildslave/unity/build/Editor/Mono/ImportSettings/AssetImporterInspector.cs:57) UnityEditor.Editor.get_serializedObject () (at C:/buildslave/unity/build/artifacts/generated/common/editor/EditorBindings.gen.cs:144) UnityEditor.ModelImporterClipEditor.OnEnable () (at C:/buildslave/unity/build/Editor/Mono/ImportSettings/ModelImporterClipEditor.cs:128)
It doesn't seem to affect the game in any way, but it's a complete mystery to me. Pasting the error into google didn't get me very far.
*Edit: I reloaded and its seems to be ok now, but it would still be good to know what the error meant and/or how I can avoid it in the future.
Answer by meat5000 · Jul 21, 2015 at 11:45 AM
Putting the exact error in google got me here:
http://ludumdare.com/compo/2015/04/19/all-unity3d-users-help-me/
which took me here:
http://answers.unity3d.com/questions/390277/finding-the-cause-for-a-nullreferenceexception.html
Thanks man. It seems everyone fixed it by restarting unity. So, whatever it is, that's how you get rid of it!
Your answer
Follow this Question
Related Questions
Failed to import survival shooter 0 Answers
Unknown error occured while loading 0 Answers
Import Project from Asset store 6 Answers
Meshes with multpile texture maps--is it possible? 3 Answers
Error using ImportAssetOptions.ForceSynchronousImport 2 Answers