[]unity导出模型报KeyNotFoundException

你好,我测试Untiy导出3d角色模型时发现的问题
KeyNotFoundException: The given key was not present in the dictionary.
System.Collections.Generic.Dictionary`2[System.String,System.Collections.Generic.List`1[System.String]].get_Item (System.String key) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:150)
LayaExport.DataManager.saveLaniData (UnityEngine.GameObject gameObject, .JSONObject obj)
LayaExport.DataManager.getAnimatorComponentData (UnityEngine.GameObject gameObject, .JSONObject component, System.Collections.Generic.List`1 linkSprite)
LayaExport.DataManager.getComponentsData (UnityEngine.GameObject gameObject, .JSONObject node, .JSONObject child, Vector3 position, Quaternion rotation, Vector3 scale, System.String& goPath)
LayaExport.DataManager.getGameObjectData (UnityEngine.GameObject gameObject, System.String gameObjectPath, .JSONObject parentsChildNodes, Boolean ignoreNullChild)
LayaExport.DataManager.getSceneNode ()
LayaExport.DataManager.saveData ()
LayaExport.DataManager.getData ()
LayaAir3D.exportResource (Boolean isDebug) (at Assets/LayaAir3D/LayaTool/LayaAir3D.cs:429)
LayaAir3D.OnGUI () (at Assets/LayaAir3D/LayaTool/LayaAir3D.cs:331)
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)
 
unity:5.6.5
plugin:1.7.13
测试方式:可以先点开Assets/Export/aige.unity 这个场景,点击导出,发现没有报错,然后再点开Assets/Export/shengwushi.unity这个场景并导出,发现就报这个错了,目前我自己的猜测是shengwushi这个模型带有动画位移,这是在max里做好的,而aige这个模型没有动画位移都是在原点上,可能是这个问题引起,请求解答,谢谢
已邀请:

qian

赞同来自:

TIM图片20180125172629.png

在3Dmax中把有问题的那个模型 这两个干掉

suteam

赞同来自:

这是在哪个界面看的?能在unity操作么?

suteam

赞同来自:

已解决,需要在max里面重新做一些导出,将一些无用的节点去掉即可

要回复问题请先

商务合作
商务合作