NullReferenceException: (null)
 UnityEditor.SerializedObject..ctor (UnityEngine.Object[] objs) (at C:/BuildAgent/work/812c4f5049264fad/Editor/MonoGenerated/Editor/SerializedPropertyBindings.cs:39)
 UnityEditor.AssetImporterInspector.GetSerializedObjectInternal () (at C:/BuildAgent/work/812c4f5049264fad/Editor/Mono/ImportSettings/AssetImporterInspector.cs:52)
 UnityEditor.Editor.get_serializedObject () (at C:/BuildAgent/work/812c4f5049264fad/Editor/MonoGenerated/Editor/EditorBindings.cs:71)
 UnityEditor.ModelImporterClipEditor.OnEnable () (at C:/BuildAgent/work/812c4f5049264fad/Editor/Mono/ImportSettings/ModelImporterClipEditor.cs:89)

I am getting this error, even though i dont have cs files in project.

PROBLEM FIXED - Tried reinstalling Unity at different location and project is working with any error like this. Still puzzled why this issue happened, what i should not suppose to do. Thank you all.

  • 1
    \$\begingroup\$ When do you get this exception ? When running your game or when opening a scene from it in Editor ? \$\endgroup\$ – VB_overflow Aug 18 '15 at 11:09
  • \$\begingroup\$ I am getting this error without building. In Editor. Not able to build my project. I amusing Unity4.6.7. \$\endgroup\$ – Ram Reddy Pandi Aug 18 '15 at 11:27
  • \$\begingroup\$ One of your asset seems corrupted, seems like a model or a clip is causing the crash. Only thing I can propose to you is to try to remove assets one by one, each time saving & reopening the scene until the exception does not occur anymore, then you'll know which asset(s) have issues. \$\endgroup\$ – VB_overflow Aug 18 '15 at 11:29
  • \$\begingroup\$ Ok i am trying to resolve. \$\endgroup\$ – Ram Reddy Pandi Aug 18 '15 at 11:32
  • \$\begingroup\$ I backed up my Assets folder. With empty project there is no error. When I put back Assets folder content. Unity Editor is crashing. \$\endgroup\$ – Ram Reddy Pandi Aug 18 '15 at 12:24

Try restarting Unity IDE once.

  • \$\begingroup\$ Tried restarting but unity project is crashing without any error. should i reinstall unity? \$\endgroup\$ – Ram Reddy Pandi Aug 18 '15 at 12:22
  • \$\begingroup\$ Don't know what is the issue, try re-install and check please. \$\endgroup\$ – Rajiv Chandel Aug 18 '15 at 12:32
  • \$\begingroup\$ Trying reinstalling \$\endgroup\$ – Ram Reddy Pandi Aug 18 '15 at 12:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.