Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - robertwahler

Pages: [1]
1
Hi,

Could someone help me trouble shoot this error message?  I get dozens on these errors when switching platforms in "build settings".  Stack trace is below.  The errors started when I updated 2d Toolkit to 2.4.0. The error doesn't seem to prevent the game from running. Everything works fine but I'd like to understand the issue. Thanks!

Here is the full stack trace:

Fatal error - font from sprite collection is has an invalid material
UnityEngine.Debug:LogError(Object)
tk2dFontData:Init() (at Assets/Vendor/TK2DROOT/tk2d/Code/Fonts/tk2dFontData.cs:152)
tk2dFontData:get_inst() (at Assets/Vendor/TK2DROOT/tk2d/Code/Fonts/tk2dFontData.cs:130)
tk2dTextMesh:InitInstance() (at Assets/Vendor/TK2DROOT/tk2d/Code/Fonts/tk2dTextMesh.cs:376)
tk2dTextMesh:DoNotUse__CommitInternal() (at Assets/Vendor/TK2DROOT/tk2d/Code/Fonts/tk2dTextMesh.cs:624)
tk2dUpdateManager:QueueCommit(tk2dTextMesh) (at Assets/Vendor/TK2DROOT/tk2d/Code/Runtime/tk2dUpdateManager.cs:30)
tk2dTextMesh:SetNeedUpdate(UpdateFlags) (at Assets/Vendor/TK2DROOT/tk2d/Code/Fonts/tk2dTextMesh.cs:252)
tk2dTextMesh:Init(Boolean) (at Assets/Vendor/TK2DROOT/tk2d/Code/Fonts/tk2dTextMesh.cs:528)
tk2dTextMesh:ForceBuild() (at Assets/Vendor/TK2DROOT/tk2d/Code/Fonts/tk2dTextMesh.cs:755)
tk2dTextMesh:OnEnable() (at Assets/Vendor/TK2DROOT/tk2d/Code/Fonts/tk2dTextMesh.cs:415)
UnityEditor.HostView:OnGUI()

Pages: [1]