ゲームを再生していたところ,プレー途中で以下のようなエラーが得られました.
配列の定義域外を参照したことによるエラーであることは経験則から理解しましたが,該当の配列がおそらくデフォルトで存在しているものであると考えています.
unityの仕様について詳しくないのでこれらのエラーコードが意味しているところや原因,対処がわかりません
IndexOutOfRangeException: Index was outside the bounds of the array.
UnityEditor.ListViewShared.MultiSelection (UnityEditor.ListViewShared+InternalListViewState ilvState, System.Int32 prevSelected, System.Int32 currSelected, System.Int32& initialSelected, System.Boolean[]& selectedItems) (at <25e9afc147634a5ca855ab83fab425dd>:0)
UnityEditor.ListViewShared.MultiSelection (UnityEditor.ListViewShared+InternalListViewState ilvState, System.Int32 previousRow) (at <25e9afc147634a5ca855ab83fab425dd>:0)
UnityEditor.ListViewShared.SendKey (UnityEditor.ListViewShared+InternalListViewState ilvState, UnityEngine.KeyCode keyCode, System.Int32 totalCols) (at <25e9afc147634a5ca855ab83fab425dd>:0)
UnityEditor.ListViewShared.ListViewKeyboard (UnityEditor.ListViewShared+InternalListViewState ilvState, System.Int32 totalCols) (at <25e9afc147634a5ca855ab83fab425dd>:0)
UnityEditor.ListViewShared+ListViewElementsEnumerator.MoveNext () (at <25e9afc147634a5ca855ab83fab425dd>:0)
UnityEditor.ConsoleWindow.OnGUI () (at <25e9afc147634a5ca855ab83fab425dd>:0)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at <25e9afc147634a5ca855ab83fab425dd>:0)
UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect) (at <25e9afc147634a5ca855ab83fab425dd>:0)
UnityEditor.DockArea.OldOnGUI () (at <25e9afc147634a5ca855ab83fab425dd>:0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <270875aa25744a3b8d4f4ee5dc922b56>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <270875aa25744a3b8d4f4ee5dc922b56>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <270875aa25744a3b8d4f4ee5dc922b56>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Boolean canAffectFocus) (at <270875aa25744a3b8d4f4ee5dc922b56>:0)
UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUIRaw (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus, System.Boolean verifyBounds) (at <270875aa25744a3b8d4f4ee5dc922b56>:0)
UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUI (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus, System.Boolean verifyBounds) (at <270875aa25744a3b8d4f4ee5dc922b56>:0)
UnityEngine.UIElements.KeyboardEventDispatchingStrategy.DispatchEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <270875aa25744a3b8d4f4ee5dc922b56>:0)
UnityEngine.UIElements.EventDispatcher.ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, System.Boolean imguiEventIsInitiallyUsed) (at <270875aa25744a3b8d4f4ee5dc922b56>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <270875aa25744a3b8d4f4ee5dc922b56>:0)
UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) (at <270875aa25744a3b8d4f4ee5dc922b56>:0)
UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at <270875aa25744a3b8d4f4ee5dc922b56>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <270875aa25744a3b8d4f4ee5dc922b56>:0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at <270875aa25744a3b8d4f4ee5dc922b56>:0)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <270875aa25744a3b8d4f4ee5dc922b56>:0)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at <270875aa25744a3b8d4f4ee5dc922b56>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at <6ddf8eac3856492ab1b8cf42618915cc>:0)
回答2件
あなたの回答
tips
プレビュー