Good to see there is a new version, but i found that when I'm using Unity3d 5.3.1p1 version with 2D Toolkit 2.5.5, my Unity crashes when I just change PreMultiplied Alpha and Commit. Do you have any idea on this or do you aware of this problem?
Edit:
I think I found the reason why it crashes, in tk2dUtil.cs, I found that the "SetDirty" functions keep pointing back to itself due to the "UNITY_EDITOR" pragma, I change it to as below and it seems solve my problem.
// Replicate old pre-5.3 behaviour
public static void SetDirty(UnityEngine.Object @object)
{
#if UNITY_EDITOR
//tk2dUtil.SetDirty(@object); //take away this as it keep pointing back to itself
#if (UNITY_5_3 || UNITY_5_4 || UNITY_5_6 || UNITY_5_7 || UNITY_5_8 || UNITY_5_9 || UNITY_6_0)
if (!string.IsNullOrEmpty(UnityEditor.AssetDatabase.GetAssetPath(@object)))
{
string scenePath = UnityEditor.AssetDatabase.GetAssetOrScenePath(@object);
var scene = UnityEditor.SceneManagement.EditorSceneManager.GetSceneByPath(scenePath);
if (scene.IsValid())
{
UnityEditor.SceneManagement.EditorSceneManager.MarkSceneDirty(scene);
}
}
#else
EditorUtility.SetDirty(@object); //added this so it still functioning for previous version.
#endif
#endif // UNITY_EDITOR