スタンプモードが使えなくなる不具合
Posted: 2017/10/23 00:34
以下のエラーが発生し、Nostalgia MapのInspectorのスタンプモードで表示されるはずのAddMode等のボタンが表示されません(発生条件はわかっていませんが、稀に発生しMapを作り直す必要が出てしまいます(コピーしてもエラーを引き継ぐ))
NullReferenceException: Object reference not set to an instance of an object
NostalgiaEditor.EditorTools.DrawTile (Rect position, Nostalgia.Tile tile, Int32 partsID, Point2 tilePos) (at Assets/Plugins/Nostalgia/Core/Editor/EditorTools.cs:278)
NostalgiaEditor.EditorTools.DrawStamp (Rect position, Nostalgia.Stamp stamp) (at Assets/Plugins/Nostalgia/Core/Editor/EditorTools.cs:654)
NostalgiaEditor.EditorTools.SelectStampField (Rect position, Nostalgia.Map map, Int32 selected, Int32 xCount) (at Assets/Plugins/Nostalgia/Core/Editor/EditorTools.cs:737)
NostalgiaEditor.EditorTools.SelectStampField (Nostalgia.Map map, Int32 value) (at Assets/Plugins/Nostalgia/Core/Editor/EditorTools.cs:776)
NostalgiaEditor.MapInspector.StampGUI () (at Assets/Plugins/Nostalgia/Core/Editor/MapInspector.cs:217)
NostalgiaEditor.MapInspector.OnInspectorGUI () (at Assets/Plugins/Nostalgia/Core/Editor/MapInspector.cs:422)
UnityEditor.InspectorWindow.DrawEditor (UnityEditor.Editor editor, Int32 editorIndex, Boolean rebuildOptimizedGUIBlock, System.Boolean& showImportedObjectBarNext, UnityEngine.Rect& importedObjectBarRect) (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:1240)
UnityEditor.DockArea:OnGUI()
NullReferenceException: Object reference not set to an instance of an object
NostalgiaEditor.EditorTools.DrawTile (Rect position, Nostalgia.Tile tile, Int32 partsID, Point2 tilePos) (at Assets/Plugins/Nostalgia/Core/Editor/EditorTools.cs:278)
NostalgiaEditor.EditorTools.DrawStamp (Rect position, Nostalgia.Stamp stamp) (at Assets/Plugins/Nostalgia/Core/Editor/EditorTools.cs:654)
NostalgiaEditor.EditorTools.SelectStampField (Rect position, Nostalgia.Map map, Int32 selected, Int32 xCount) (at Assets/Plugins/Nostalgia/Core/Editor/EditorTools.cs:737)
NostalgiaEditor.EditorTools.SelectStampField (Nostalgia.Map map, Int32 value) (at Assets/Plugins/Nostalgia/Core/Editor/EditorTools.cs:776)
NostalgiaEditor.MapInspector.StampGUI () (at Assets/Plugins/Nostalgia/Core/Editor/MapInspector.cs:217)
NostalgiaEditor.MapInspector.OnInspectorGUI () (at Assets/Plugins/Nostalgia/Core/Editor/MapInspector.cs:422)
UnityEditor.InspectorWindow.DrawEditor (UnityEditor.Editor editor, Int32 editorIndex, Boolean rebuildOptimizedGUIBlock, System.Boolean& showImportedObjectBarNext, UnityEngine.Rect& importedObjectBarRect) (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:1240)
UnityEditor.DockArea:OnGUI()