EdyJ / blender-to-unity3d-importer

Advanced Blender to Unity 3D model importer
MIT License
141 stars 34 forks source link

Importer no longer working in Unity 2017.1 #7

Open guategeek opened 7 years ago

guategeek commented 7 years ago

When trying to use this importer in my current version of unity I get an error. Is the importer broken for current versions of Unity?

---(Error)---

IndexOutOfRangeException: Array index is out of range. EdysBlenderImporter.CalculateMeshTangents (UnityEngine.Mesh mesh) (at Assets/Editor/EdysBlenderImporter.cs:625) EdysBlenderImporter.RotateMesh (UnityEngine.GameObject go, Quaternion rot) (at Assets/Editor/EdysBlenderImporter.cs:381) EdysBlenderImporter.ProcessFirstLevel (UnityEngine.GameObject go) (at Assets/Editor/EdysBlenderImporter.cs:195) EdysBlenderImporter.ProcessBlenderObject (UnityEngine.GameObject go) (at Assets/Editor/EdysBlenderImporter.cs:176) EdysBlenderImporter.OnPostprocessModel (UnityEngine.GameObject go) (at Assets/Editor/EdysBlenderImporter.cs:95) System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232) System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115) UnityEditor.AttributeHelper.InvokeMemberIfAvailable (System.Object target, System.String methodName, System.Object[] args) (at /Users/builduser/buildslave/unity/build/Editor/Mono/AttributeHelper.cs:168) UnityEditor.AssetPostprocessingInternal.PostprocessMesh (UnityEngine.GameObject gameObject) (at /Users/builduser/buildslave/unity/build/Editor/Mono/AssetPostprocessor.cs:246)