80place
0 votes Vote

importing MapMagic Objects

MagMagic 2.0.8

1. Open new scene.
2. import MapMagic 2
3. create a graph and make a landscape
4. import MapMagic 2 Objects
5. try to add a object
6. see this error
```Exception: Could not find texture GeneratorIcons/Mask
Den.Tools.GUI.TexturesCache.LoadTextureAtPath (System.String textureName, System.Boolean forceLight, System.Boolean forcePro) (at Assets/MapMagic/Tools/GUI/Editor/TexturesCache.cs:147)
Den.Tools.GUI.TexturesCache.GetTexture (System.String textureName) (at Assets/MapMagic/Tools/GUI/Editor/TexturesCache.cs:28)
MapMagic.Nodes.GUI.GeneratorDraw.GetMenuAttribute (System.Type genType) (at Assets/MapMagic/Nodes/Editor/GeneratorDraw.cs:961)
MapMagic.Nodes.GUI.CreateRightClick.CreateItems (UnityEngine.Vector2 mousePos, MapMagic.Nodes.Graph graph, System.Int32 priority) (at Assets/MapMagic/Popup/Editor/CreateRightClick.cs:68)
MapMagic.Nodes.GUI.CreateRightClick.DrawCreateItems (UnityEngine.Vector2 mousePos, MapMagic.Nodes.Graph graph) (at Assets/MapMagic/Popup/Editor/CreateRightClick.cs:25)
MapMagic.Nodes.GUI.GraphWindow.DragDrawAddRemove () (at Assets/MapMagic/Nodes/Editor/GraphWindow.cs:644)
MapMagic.Nodes.GUI.GraphWindow.DrawGraph () (at Assets/MapMagic/Nodes/Editor/GraphWindow.cs:297)
Den.Tools.GUI.UI.Draw (System.Action drawAction, Den.Tools.GUI.UI+RectSelector rectSelector, System.Boolean offsetAfterDraw) (at Assets/MapMagic/Tools/GUI/Editor/UI.cs:235)
Den.Tools.GUI.UI+c__DisplayClass30_0.b__0 (System.Int32 tmp) (at Assets/MapMagic/Tools/GUI/Editor/UI.cs:86)
UnityEngine.GUILayout+LayoutedWindow.DoWindow (System.Int32 windowID) (at /Users/bokken/buildslave/unity/build/Modules/IMGUI/GUILayout.cs:444)
UnityEngine.GUI.CallWindowDelegate (UnityEngine.GUI+WindowFunction func, System.Int32 id, System.Int32 instanceID, UnityEngine.GUISkin _skin, System.Int32 forceRect, System.Single width, System.Single height, UnityEngine.GUIStyle style) (at /Users/bokken/buildslave/unity/build/Modules/IMGUI/GUI.cs:1767)
UnityEditor.EditorWindow:BeginWindows()
MapMagic.Nodes.GUI.GraphWindow:OnGUI() (at Assets/MapMagic/Nodes/Editor/GraphWindow.cs:151)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&) (at /Users/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:189)
```

Digitalwild, 21.12.2020, 05:00
Idea status: under consideration

Comments

Wraith, 21.12.2020, 10:40
Thanks for reporting the issue! Could you please clarify what p. 5 means? Are you dragging graph to scene, or try to create generator? If the last one - is this error occurs when you are right-clicking/releasing Add, when opening some particular menu, or upon adding a node (which one)?

Leave a comment