Hello Guest

Author Topic: No tilemap editor GUI after updating to Unity 5.6  (Read 5401 times)

komizart

  • Newbie
  • *
  • Posts: 1
    • View Profile
No tilemap editor GUI after updating to Unity 5.6
« on: April 17, 2017, 10:07:47 am »
Hi.  I updated Unity to 5.6  and now I can't draw tiles. No GUI in editor window.  I use 2dtk 2.5.6.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: No tilemap editor GUI after updating to Unity 5.6
« Reply #1 on: April 17, 2017, 06:21:17 pm »
What do you see in the editor window? It looks like the demo is broken in this update (the tilemap object is missing), but it does work fine if you recreate it. I will be issuing a new update with this fixed in the demo.

If its broken in your project too let me know, and we'll investigate. Make sure there arent any compiler errors first though - as the editor won't work if your project fails to compile.

jujule

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: No tilemap editor GUI after updating to Unity 5.6
« Reply #2 on: April 27, 2017, 08:54:28 pm »
Hi,

This may be related. I've just upgraded to Unity3D 2017.1.0b2  (this is what the Unity About windows shows) and I have problems too. I can't paint in tile maps, the Scene window also freezes whenever I try to select an object with a TK2Sprite component, the Sprite Editor window is fully black when I try to open it. The console spits the same 2 error messages endlessly :

MissingMethodException: Method not found: 'UnityEngine.Texture2D.LoadImage'.
tk2dExternal.Skin.GenerateGUIStyles ()
tk2dExternal.Skin..ctor ()
tk2dExternal.Skin.get_Inst ()
tk2dEditorSkin.GetStyle (System.String name) (at Assets/TK2DROOT/tk2d/Editor/tk2dEditorSkin.cs:24)
tk2dTileMapSceneGUI.OnSceneGUI () (at Assets/TK2DROOT/tk2dTileMap/Editor/tk2dTileMapSceneGUI.cs:505)
tk2dTileMapEditor.OnSceneGUI () (at Assets/TK2DROOT/tk2dTileMap/Editor/tk2dTileMapEditor.cs:1237)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.SceneView.CallOnSceneGUI () (at /Users/builduser/buildslave/unity/build/Editor/Mono/SceneView/SceneView.cs:2386)
UnityEditor.SceneView.HandleSelectionAndOnSceneGUI () (at /Users/builduser/buildslave/unity/build/Editor/Mono/SceneView/SceneView.cs:1715)
UnityEditor.SceneView.OnGUI () (at /Users/builduser/buildslave/unity/build/Editor/Mono/SceneView/SceneView.cs:1585)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)


Then :

Assertion failed: Assertion failed on expression: '!dest.m_MultiFrameGUIState.m_NamedKeyControlList'

My scripts compile properly.



unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: No tilemap editor GUI after updating to Unity 5.6
« Reply #3 on: May 24, 2017, 11:20:23 pm »
I've just had another look at this on 2017.1b6, and it seems to be fine with the latest update. (tk2d 2.5.8.1)