2D Toolkit Forum

2D Toolkit => Support => Topic started by: sebaslive on August 01, 2017, 03:16:13 pm

Title: Just Updated to 2017
Post by: sebaslive on August 01, 2017, 03:16:13 pm
Hi,

I just updated to 2017 and I got 98 warnings on load. On play. On play it jumps to 194. Its not an error but it does slow down the initial startup. Any help?

Here is the warning. SendMessage cannot be called during Awake, CheckConsistency, or OnValidate

Thanks
Title: Re: Just Updated to 2017
Post by: sebaslive on August 01, 2017, 03:35:53 pm
Here is the full warning.

On Load:
SendMessage cannot be called during Awake, CheckConsistency, or OnValidate
UnityEngine.MeshFilter:set_sharedMesh(Mesh)
tk2dSprite:OnValidate() (at Assets/TK2DROOT/tk2d/Code/Sprites/tk2dSprite.cs:118)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

On Play:
SendMessage cannot be called during Awake, CheckConsistency, or OnValidate
UnityEngine.MeshFilter:set_sharedMesh(Mesh)
tk2dSprite:OnValidate() (at Assets/TK2DROOT/tk2d/Code/Sprites/tk2dSprite.cs:118)
Title: Re: Just Updated to 2017
Post by: unikronsoftware on August 01, 2017, 05:23:41 pm
Have you updated to the latest tk2d in the forum?
I fixed alot of these, and another update will fix some other warnings, possibly will post that tonight.
Title: Re: Just Updated to 2017
Post by: sebaslive on August 02, 2017, 04:58:25 am
Works great thanks!