2.4,2.5版本U3D导出插件导出模型时抛出代码异常

模型在SampleScene场景,由于U3D工程在这里上传失败,已经发送到1029805476@qq.com
异常:
KeyNotFoundException: The given key was not present in the dictionary.
System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) (at <df7127ba07dc446d9f5831a0ec7b1d63>:0)
r.a (UnityEngine.GameObject A_0, i A_1, System.Boolean A_2) (at <52f9fa4ca1c34de5ac5f2d69725a1abf>:0)
r.a (UnityEngine.GameObject A_0, i A_1, System.Collections.Generic.List`1[T] A_2) (at <52f9fa4ca1c34de5ac5f2d69725a1abf>:0)
r.a (UnityEngine.GameObject A_0, i A_1, i A_2, UnityEngine.Vector3 A_3, UnityEngine.Quaternion A_4, UnityEngine.Vector3 A_5, System.String& A_6) (at <52f9fa4ca1c34de5ac5f2d69725a1abf>:0)
r.a (UnityEngine.GameObject A_0, System.String A_1, i A_2, System.Boolean A_3, System.Boolean A_4, System.Boolean A_5) (at <52f9fa4ca1c34de5ac5f2d69725a1abf>:0)
r.j () (at <52f9fa4ca1c34de5ac5f2d69725a1abf>:0)
r.k () (at <52f9fa4ca1c34de5ac5f2d69725a1abf>:0)
r.b (System.String A_0) (at <52f9fa4ca1c34de5ac5f2d69725a1abf>:0)
LayaAir3D.exportResource (System.Boolean isDebug, System.Int32 Platformindex, System.String lastname) (at <52f9fa4ca1c34de5ac5f2d69725a1abf>:0)
LayaAir3D.ExportResources () (at <52f9fa4ca1c34de5ac5f2d69725a1abf>:0)
LayaAir3D.OnGUI () (at <52f9fa4ca1c34de5ac5f2d69725a1abf>:0)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <df7127ba07dc446d9f5831a0ec7b1d63>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <df7127ba07dc446d9f5831a0ec7b1d63>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <df7127ba07dc446d9f5831a0ec7b1d63>:0)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at D:/unity/Editor/Mono/HostView.cs:342)
UnityEditor.HostView.Invoke (System.String methodName) (at D:/unity/Editor/Mono/HostView.cs:336)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at D:/unity/Editor/Mono/HostView.cs:310)
UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect, System.Boolean customBorder, System.Boolean floatingWindow, System.Boolean isBottomTab) (at D:/unity/Editor/Mono/GUI/DockArea.cs:361)
UnityEditor.DockArea.OldOnGUI () (at D:/unity/Editor/Mono/GUI/DockArea.cs:320)
UnityEngine.Experimental.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout) (at D:/unity/Modules/UIElements/IMGUIContainer.cs:266)
UnityEngine.Experimental.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect) (at D:/unity/Modules/UIElements/IMGUIContainer.cs:438)
UnityEngine.Experimental.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e) (at D:/unity/Modules/UIElements/IMGUIContainer.cs:421)
UnityEngine.Experimental.UIElements.IMGUIContainer.HandleEvent (UnityEngine.Experimental.UIElements.EventBase evt) (at D:/unity/Modules/UIElements/IMGUIContainer.cs:401)
UnityEngine.Experimental.UIElements.EventDispatcher.ProcessEvent (UnityEngine.Experimental.UIElements.EventBase evt, UnityEngine.Experimental.UIElements.IPanel panel) (at D:/unity/Modules/UIElements/EventDispatcher.cs:511)
UnityEngine.Experimental.UIElements.EventDispatcher.Dispatch (UnityEngine.Experimental.UIElements.EventBase evt, UnityEngine.Experimental.UIElements.IPanel panel, UnityEngine.Experimental.UIElements.DispatchMode dispatchMode) (at D:/unity/Modules/UIElements/EventDispatcher.cs:307)
UnityEngine.Experimental.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.Experimental.UIElements.EventBase e, UnityEngine.Experimental.UIElements.DispatchMode dispatchMode) (at D:/unity/Modules/UIElements/Panel.cs:176)
UnityEngine.Experimental.UIElements.UIElementsUtility.DoDispatch (UnityEngine.Experimental.UIElements.BaseVisualElementPanel panel) (at D:/unity/Modules/UIElements/UIElementsUtility.cs:245)
UnityEngine.Experimental.UIElements.UIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at D:/unity/Modules/UIElements/UIElementsUtility.cs:68)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at D:/unity/Modules/IMGUI/GUIUtility.cs:179)
 
已邀请:

Laya_Aaron

赞同来自:

unity是2018.4.7吗?

腊笔小新

赞同来自:

我也遇到了这个错误,UnityEngine.GameObject A_0, i A_1, System.Boolean A_2) 

要回复问题请先

商务合作
商务合作