1
Support / Re: SetDirty cannot be used during play mode.
« on: April 07, 2017, 02:59:38 am »
Well... lol
Just updated from 5.5 to 5.6 and getting this again.
I've rebuilt index twice, still getting this when I set a sprite sorting order...
Just updated from 5.5 to 5.6 and getting this again.
I've rebuilt index twice, still getting this when I set a sprite sorting order...
Code: [Select]
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:165)
tk2dUtil.SetDirty (UnityEngine.Object object) (at Assets/[Vendor]/TK2DROOT/tk2d/Code/tk2dUtil.cs:128)
tk2dBaseSprite.set_SortingOrder (Int32 value) (at Assets/[Vendor]/TK2DROOT/tk2d/Code/Sprites/tk2dBaseSprite.cs:183)