Hi,
I'm getting a fairly frequent error log that Unity fails to recover from.
It's essentially this message over and over again:
[/Applications/buildAgent/work/cac08d8a5e25d4cb/Runtime/Graphics/Image.cpp line 937]
(Filename: Assets/TK2DROOT/tk2d/Editor/Sprites/tk2dSpriteCollectionBuilder.cs Line: 281)
Unsupported texture format - needs to be ARGB32, RGBA32, BGRA32, RGB24, Alpha8 or DXT
UnityEngine.Texture2D:GetPixel(Int32, Int32)
tk2dSpriteCollectionBuilder:ProcessTexture(tk2dSpriteCollection, Boolean, Pad, Boolean, Boolean, Texture2D, Int32, Int32, Int32, Int32, SpriteLut&, Int32) (at Assets/TK2DROOT/tk2d/Editor/Sprites/tk2dSpriteCollectionBuilder.cs:281)
tk2dSpriteCollectionBuilder:Rebuild(tk2dSpriteCollection) (at Assets/TK2DROOT/tk2d/Editor/Sprites/tk2dSpriteCollectionBuilder.cs:818)
tk2dSpriteCollectionBuilder:RebuildOutOfDate(String[]) (at Assets/TK2DROOT/tk2d/Editor/Sprites/tk2dSpriteCollectionBuilder.cs:146)
tk2dSpriteCollectionTextureWatcher:OnPostprocessAllAssets(String[], String[], String[], String[]) (at Assets/TK2DROOT/tk2d/Editor/Sprites/tk2dSpriteCollectionTextureWatcher.cs:24)
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) (at /Applications/buildAgent/work/b59ae78cff80e584/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
System.Reflection.MethodBase:Invoke(Object, Object[]) (at /Applications/buildAgent/work/b59ae78cff80e584/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.AssetPostprocessingInternal:PostprocessAllAssets(String[], String[], String[], String[], String[])
UnityEditor.EditorUserBuildSettings:SwitchActiveBuildTarget(BuildTarget)
UnityEditor.BuildPlayerWindow:ActiveBuildTargetsGUI()
UnityEditor.BuildPlayerWindow:OnGUI()
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) (at /Applications/buildAgent/work/b59ae78cff80e584/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
System.Reflection.MethodBase:Invoke(Object, Object[]) (at /Applications/buildAgent/work/b59ae78cff80e584/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.HostView:Invoke(String, Object)
UnityEditor.HostView:Invoke(String)
UnityEditor.HostView:OnGUI(
The only fix is usually to start deleting my compiled sprite atlases, re-launch Unity and then resync the atlas. This worked a few times as a quick workaround.
However, I seem to be hitting this error a few times a week now, just wondering if there was something I could do about it?