Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Walker on December 04, 2014, 03:00:54 AM

Title: Game crashed occasionally
Post by: Walker on December 04, 2014, 03:00:54 AM
When testing on WindosPhone devices the game crashed some times. I just clicked a button, and there are some logs:
[Error]  Exception: External component has thrown an exception.
Type: System.Runtime.InteropServices.SEHException
Module: UnityEngine
InnerException: <No Data>
AdditionalInfo:<No Data>
   at UnityEngine.Internal.$Calli.Invoke39(Int32 arg0, IntPtr method)
   at UnityEngine.Object.Internal_CloneSingle(Object data)
   at CartControl.<InitGoods>c__Iterator10F.MoveNext()
   at CartControl.<InitGoods>c__Iterator10E.MoveNext()
   at UnityEngine.Internal.$MethodUtility.$Invoke129(Int64 instance, Int64* args)
   at UnityEngine.Internal.$MethodUtility.InvokeMethod(Int64 instance, Int64* args, IntPtr method)
[Error]  Exception: External component has thrown an exception.
Type: System.Runtime.InteropServices.SEHException
Module: UnityEngine
InnerException: <No Data>
AdditionalInfo:<No Data>
   at UnityEngine.Internal.$Calli.Invoke39(Int32 arg0, IntPtr method)
   at UnityEngine.Component.InternalGetTransform()
   at UIWidget.get_cachedTransform()
   at UILabel.ProcessText()
   at UILabel.get_relativeSize()
   at NGUIMath.CalculateRelativeWidgetBounds(Transform root, Transform child)
   at UIDraggablePanel.get_shouldMoveVertically()
   at UIDraggablePanel.LateUpdate()
   at UIDraggablePanel.$Invoke10(Int64 instance, Int64* args)
   at UnityEngine.Internal.$MethodUtility.InvokeMethod(Int64 instance, Int64* args, IntPtr method)
[Error]  Exception: External component has thrown an exception.
Type: System.Runtime.InteropServices.SEHException
Module: UnityEngine
InnerException: <No Data>
AdditionalInfo:<No Data>
   at UnityEngine.Internal.$Calli.Invoke12(Int64 arg0, Int32 arg1, IntPtr method)
   at UnityEngine.GameObject.Internal_CreateGameObject(GameObject mono, String name)
   at UIPanel.GetDrawCall(Material mat, Boolean createIfMissing)
   at UIPanel.Fill(Material mat)
   at UIPanel.LateUpdate()
   at UIPanel.$Invoke20(Int64 instance, Int64* args)
   at UnityEngine.Internal.$MethodUtility.InvokeMethod(Int64 instance, Int64* args, IntPtr method)

Please help me!!
Title: Re: Game crashed occasionally
Post by: ArenMook on December 04, 2014, 03:06:10 AM
First is "CartControl.<InitGoods>" -- which is your code.