Hi,
I have a button when pressed opens up (enables) a new camera/screen that contains 2d toolkit sprites and text meshes.
In the editor I get no errors on opening.
However, on Xcode I get the following hard crash:
UnityEngine.SendMouseEvents:SendEvents(Int32, HitInfo)
UnityEngine.SendMouseEvents:DoSendMouseEvents(Int32)
(Filename: ./Runtime/Export/Debug.bindings.h Line: 45)
Uploading Crash Report
NullReferenceException: Object reference not set to an instance of an object.
at tk2dTextGeomGen.GetMeshDimensionsForString (System.String str, tk2dTextGeomGen+GeomData geomData) [0x00000] in <00000000000000000000000000000000>:0
at tk2dTextGeomGen.SetTextMeshGeom (UnityEngine.Vector3[] pos, UnityEngine.Vector2[] uv, UnityEngine.Vector2[] uv2, UnityEngine.Color32[] color, System.Int32 offset, tk2dTextGeomGen+GeomData geomData) [0x00000] in <00000000000000000000000000000000>:0
at tk2dTextMesh.DoNotUse__CommitInternal () [0x00000] in <00000000000000000000000000000000>:0
at tk2dUpdateManager.FlushQueuesInternal () [0x00000] in <00000000000000000000000000000000>:0
(Filename: currently not available on il2cpp Line: -1)
Uploading Crash Report
NullReferenceException: Object reference not set to an instance of an object.
at tk2dTextGeomGen.GetMeshDimensionsForString (System.String str, tk2dTextGeomGen+GeomData geomData) [0x00000] in <00000000000000000000000000000000>:0
at tk2dTextGeomGen.SetTextMeshGeom (UnityEngine.Vector3[] pos, UnityEngine.Vector2[] uv, UnityEngine.Vector2[] uv2, UnityEngine.Color32[] color, System.Int32 offset, tk2dTextGeomGen+GeomData geomData) [0x00000] in <00000000000000000000000000000000>:0
at tk2dTextMesh.DoNotUse__CommitInternal () [0x00000] in <00000000000000000000000000000000>:0
at tk2dUpdateManager.FlushQueuesInternal () [0x00000] in <00000000000000000000000000000000>:0
UnityEngine.UnhandledExceptionHandler:PrintException(String, Exception)
UnityEngine.UnhandledExceptionHandler:HandleUnhandledException(Object, UnhandledExceptionEventArgs)
(Filename: currently not available on il2cpp Line: -1)
Any ideas?
Update: Still looking for potential error on my end, but nothing. Can you confirm if this is a bug on 2d Toolkit end so i don't waste time searching through my code? Appreciate that.
Thanks