イベントの位置設定で他のイベントと交換を選択すると、例外が発生し、イベントが編集できなくなる。
Unityバージョン:6000.0.38f1
Uniteバージョン:1.2.1
イベントコマンド「イベントの位置設定」で「他のイベントと交換」の項目を選択すると、例外が発生し、そのイベントが編集できなくなりました。
発生した例外は次のとおりです。
ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
System.Collections.Generic.List`1[T].get_Item (System.Int32 index) (at <eb0ef51e5908461ca908fdf6b2dbd966>:0)
RPGMaker.Codebase.Editor.MapEditor.Component.EventText.Event.MoveSetEventPoint.Invoke (System.String indent, RPGMaker.Codebase.CoreSystem.Knowledge.DataModel.Event.EventDataModel+EventCommand eventCommand) (at Assets/RPGMaker/Codebase/Editor/MapEditor/Component/EventText/Event/MoveSetEventPoint.cs:65)
RPGMaker.Codebase.CoreSystem.Service.EventManagement.GetEventCommandLabelText.Invoke (RPGMaker.Codebase.CoreSystem.Knowledge.DataModel.Event.EventDataModel+EventCommand eventCommand) (at Assets/RPGMaker/Codebase/Editor/MapEditor/Component/EventText/GetEventCommandLabelText.cs:253)
RPGMaker.Codebase.Editor.MapEditor.Window.EventEdit.ExecutionContentsWindow.CreateCommandButton (RPGMaker.Codebase.CoreSystem.Knowledge.DataModel.Event.EventDataModel+EventCommand eventCommand, System.Int32 index) (at Assets/RPGMaker/Codebase/Editor/MapEditor/Window/EventEdit/ExecutionContentsWindow.cs:243)
RPGMaker.Codebase.Editor.MapEditor.Window.EventEdit.ExecutionContentsWindow.InitUI (System.Boolean initEvent) (at Assets/RPGMaker/Codebase/Editor/MapEditor/Window/EventEdit/ExecutionContentsWindow.cs:167)
RPGMaker.Codebase.Editor.MapEditor.Window.EventEdit.ExecutionContentsWindow.Init (RPGMaker.Codebase.CoreSystem.Knowledge.DataModel.Event.EventDataModel eventDataModelEntity, System.Boolean initEvent, RPGMaker.Codebase.Editor.MapEditor.Window.EventEdit.ExecutionContentsWindow+EventType eventType) (at Assets/RPGMaker/Codebase/Editor/MapEditor/Window/EventEdit/ExecutionContentsWindow.cs:116)
RPGMaker.Codebase.Editor.MapEditor.Window.EventEdit.ExecutionContentsWindow.Refresh (RPGMaker.Codebase.CoreSystem.Knowledge.DataModel.Event.EventDataModel eventDataModelEntity, System.Boolean flg) (at Assets/RPGMaker/Codebase/Editor/MapEditor/Window/EventEdit/ExecutionContentsWindow.cs:344)
RPGMaker.Codebase.Editor.MapEditor.MapEditor.EventRefresh (System.Boolean flg) (at Assets/RPGMaker/Codebase/Editor/MapEditor/MapEditor.cs:1258)
RPGMaker.Codebase.Editor.MapEditor.Window.EventEdit.ExecutionContentsWindow.ProcessTextSetting () (at Assets/RPGMaker/Codebase/Editor/MapEditor/Window/EventEdit/ExecutionContentsWindow.cs:379)
RPGMaker.Codebase.Editor.MapEditor.Component.CommandEditor.AbstractCommandEditor.Save (RPGMaker.Codebase.CoreSystem.Knowledge.DataModel.Event.EventDataModel eventDataModelEntity) (at Assets/RPGMaker/Codebase/Editor/MapEditor/Component/CommandEditor/AbstractCommandEditor.cs:224)
RPGMaker.Codebase.Editor.MapEditor.Component.CommandEditor.Event.MoveSetEventPoint+<>c__DisplayClass42_0.<SetCallbackToUI>b__3 () (at Assets/RPGMaker/Codebase/Editor/MapEditor/Component/CommandEditor/Event/MoveSetEventPoint.cs:410)
RPGMaker.Codebase.Editor.Common.CommonToggleSelector+<>c__DisplayClass6_1.<SetRadioSelector>b__0 (UnityEngine.UIElements.ChangeEvent`1[T] evt) (at Assets/RPGMaker/Codebase/Editor/Common/CommonToggleSelector.cs:95)
UnityEngine.UIElements.EventCallbackFunctor`1[TEventType].Invoke (UnityEngine.UIElements.EventBase evt) (at <f1c909cad80d4b24ac89c1095fc1f01b>:0)
UnityEngine.UIElements.EventCallbackRegistry+DynamicCallbackList.Invoke (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, UnityEngine.UIElements.VisualElement target) (at <f1c909cad80d4b24ac89c1095fc1f01b>:0)
UnityEngine.UIElements.EventDispatchUtilities.HandleEvent_BubbleUpCallbacks (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, UnityEngine.UIElements.VisualElement element) (at <f1c909cad80d4b24ac89c1095fc1f01b>:0)
UnityEngine.UIElements.EventDispatchUtilities.HandleEventAcrossPropagationPath (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, UnityEngine.UIElements.VisualElement target, System.Boolean isCapturingTarget) (at <f1c909cad80d4b24ac89c1095fc1f01b>:0)
UnityEngine.UIElements.EventDispatchUtilities.PropagateEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, UnityEngine.UIElements.VisualElement target, System.Boolean isCapturingTarget) (at <f1c909cad80d4b24ac89c1095fc1f01b>:0)
UnityEngine.UIElements.EventDispatchUtilities.DefaultDispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel) (at <f1c909cad80d4b24ac89c1095fc1f01b>:0)
UnityEngine.UIElements.EventBase.Dispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <f1c909cad80d4b24ac89c1095fc1f01b>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel) (at <f1c909cad80d4b24ac89c1095fc1f01b>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEventQueue () (at <f1c909cad80d4b24ac89c1095fc1f01b>:0)
UnityEngine.UIElements.EventDispatcher.OpenGate () (at <f1c909cad80d4b24ac89c1095fc1f01b>:0)
UnityEngine.UIElements.EventDispatcherGate.Dispose () (at <f1c909cad80d4b24ac89c1095fc1f01b>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel) (at <f1c909cad80d4b24ac89c1095fc1f01b>:0)
UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) (at <f1c909cad80d4b24ac89c1095fc1f01b>:0)
UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at <f1c909cad80d4b24ac89c1095fc1f01b>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <f1c909cad80d4b24ac89c1095fc1f01b>:0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at <f1c909cad80d4b24ac89c1095fc1f01b>:0)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <f1c909cad80d4b24ac89c1095fc1f01b>:0)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at <f1c909cad80d4b24ac89c1095fc1f01b>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at <1b026406e9c7449283af5e3e7bcf93f9>:0)
こちらはその動画です。
-
ご報告誠にありがとうございます。
本件の再現を確認しました。こちらは将来の修正を予定しております。
ご不便をおかけしてしまい申し訳ございません。何卒よろしくお願い申し上げます。
0
Please sign in to leave a comment.
Comments
1 comment