Hello,
Recently updated 2dtk and am getting this error...
To updated 2dtk, like I usually do, I made a new scene, imported 2dtk, and rebuild index.
InvalidOperationException: This cannot be used during play mode.
UnityEditor.SceneManagement.EditorSceneManager.MarkSceneDirty (Scene scene) (at C:/buildslave/unity/build/artifacts/generated/common/editor/EditorSceneManagerBindings.gen.cs:156)
tk2dUtil.SetDirty (UnityEngine.Object object) (at Assets/[Vendor]/TK2DROOT/tk2d/Code/tk2dUtil.cs:128)
It's coming after an assignment to tk2dbasesprtie.sortingOrder.
I found another post about that particular function(tk2dUtil.SetDirty), but it does not seem to apply here. Thanks!