Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Crash] ArgumentOutOfRangeException at MagicStorage.Components.TEStorageUnit.SaveData #224

Open
Phoupraw opened this issue Jan 10, 2023 · 0 comments

Comments

@Phoupraw
Copy link

TML crashed at the moment I used crafting interface to craft. The following is the latest flash, and then tml lagged and crashed.
崩溃前画面2
logs.zip

[21:42:03.362] [.NET ThreadPool Worker/WARN] [tML]: 静默捕获异常:
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at MagicStorage.Components.TEStorageUnit.SaveData(TagCompound tag) in MagicStorage\Components\TEStorageUnit.cs:line 407
at Terraria.ModLoader.IO.TileIO.SaveTileEntities() in tModLoader\Terraria\ModLoader\IO\TileIO_TEs.cs:line 21
at Terraria.ModLoader.IO.WorldIO.Save(String path, Boolean isCloudSave) in tModLoader\Terraria\ModLoader\IO\WorldIO.cs:line 25
at Terraria.IO.WorldFile.InternalSaveWorld(Boolean useCloudSaving, Boolean resetTime) in tModLoader\Terraria\IO\WorldFile.cs:line 564
at Terraria.Utilities.FileUtilities.ProtectedInvoke(Action action) in tModLoader\Terraria\Utilities\FileUtilities.cs:line 170
at Terraria.IO.WorldFile.SaveWorld(Boolean useCloudSaving, Boolean resetTime) in tModLoader\Terraria\IO\WorldFile.cs:line 499
at Terraria.IO.WorldFile.SaveWorld() in tModLoader\Terraria\IO\WorldFile.cs:line 476
at System.Threading.QueueUserWorkItemCallback.Execute()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant