m22spencer / BattletechPerformanceFix

Performance improvements and general fixes for HBS' BattleTech.
The Unlicense
22 stars 8 forks source link

Patch proposal: Duplicated mech models #29

Open m22spencer opened 5 years ago

m22spencer commented 5 years ago

IndexOutOfRangeException: Array index is out of range. at BattleTech.SimGameCameraController.FitCameraToMech (UnityEngine.GameObject mech, UnityEngine.Camera camera) [0x00000] in :0 at BattleTech.SimGameCameraController.EnterMechView () [0x00000] in :0 at BattleTech.UI.MechBayMechInfoWidget.OnMechLabClicked () [0x00000] in :0 at UnityEngine.Events.InvokableCall.Invoke (System.Object[] args) [0x00000] in :0 at UnityEngine.Events.InvokableCallList.Invoke (System.Object[] parameters) [0x00000] in :0 at UnityEngine.Events.UnityEventBase.Invoke (System.Object[] parameters) [0x00000] in :0 at UnityEngine.Events.UnityEvent.Invoke () [0x00000] in :0 at BattleTech.UI.HBSButton.OnPointerUp (UnityEngine.EventSystems.PointerEventData eventData) [0x00000] in :0 at UnityEngine.EventSystems.ExecuteEvents.Execute (IPointerUpHandler handler, UnityEngine.EventSystems.BaseEventData eventData) [0x00000] in :0 at UnityEngine.EventSystems.ExecuteEvents.Execute[IPointerUpHandler] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.EventFunction1 functor) [0x00000] in <filename unknown>:0 UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) UnityEngine.DebugLogHandler:LogException(Exception, Object) UnityEngine.Logger:LogException(Exception, Object) UnityEngine.Debug:LogException(Exception) UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction1) UnityEngine.EventSystems.StandaloneInputModule:ProcessMousePress(MouseButtonEventData) UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent(Int32) UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent() UnityEngine.EventSystems.StandaloneInputModule:Process() UnityEngine.EventSystems.EventSystem:Update()