blish-hud / Pathing

[Module] The official pathing module which adds marker and trail support to Blish HUD.
https://blishhud.com/docs/markers/
MIT License
12 stars 10 forks source link

CopyTo Crash #85

Closed dlamkins closed 1 year ago

dlamkins commented 1 year ago

06:26:19.6081 | FATAL | Blish_HUD.DebugService | Blish HUD encountered a fatal crash! System.InvalidOperationException: CopyTo not supported. If using LINQ, ensure you call .ToList or .ToArray directly on SafeList first. at BhModule.Community.Pathing.SafeList1.CopyTo(T[] array, Int32 arrayIndex) in C:\BhApps\BhudRequestFor\work\vJMB6ff80CVovU1T2EW6A\_Types\SafeList[T].cs:line 130 at System.Collections.Generic.List1..ctor(IEnumerable1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source) at BhModule.Community.Pathing.Entity.StandardMarker.Interact(Boolean autoTriggered) in C:\BhApps\BhudRequestFor\work\vJMB6ff80CVovU1T2EW6A\Entity\StandardMarker_Focus.cs:line 77 at BhModule.Community.Pathing.SharedPackState.OnInteractPressed(Object sender, EventArgs e) in C:\BhApps\BhudRequestFor\work\vJMB6ff80CVovU1T2EW6A\State\SharedPackState.cs:line 151 at Blish_HUD.Input.KeyBinding.Fire() in D:\a\Blish-HUD\Blish-HUD\Blish HUD\GameServices\Input\Keyboard\KeyBinding.cs:line 132 at System.EventHandler`1.Invoke(Object sender, TEventArgs e) at Blish_HUD.Input.KeyboardHandler.Update() in D:\a\Blish-HUD\Blish-HUD\Blish HUD\GameServices\Input\Keyboard\KeyboardHandler.cs:line 130 at Blish_HUD.BlishHud.Update(GameTime gameTime) in D:\a\Blish-HUD\Blish-HUD\Blish HUD\BlishHud.cs:line 134 at Microsoft.Xna.Framework.Game.DoUpdate(GameTime gameTime) at Microsoft.Xna.Framework.Game.Tick() at MonoGame.Framework.WinFormsGameWindow.TickOnIdle(Object sender, EventArgs e) at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef) at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData) at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) at MonoGame.Framework.WinFormsGameWindow.RunLoop() at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior) at Blish_HUD.Program.Main(String[] args) in D:\a\Blish-HUD\Blish-HUD\Blish HUD\Program.cs:line 92