tModLoader

tModLoader

Magic Storage
Crafting Interface causing main engine crash when recursion is on (-1) with recent update
Crash from client.log below; this happened upon clicking on an item in the crafting interface that I wanted to craft with recursion set to -1:
[12:07:37.384] [Main Thread/WARN] [tML]: Silently Caught Exception:
System.EntryPointNotFoundException: Entry point was not found.
at System.Collections.Generic.IEnumerable`1.GetEnumerator()
at System.Linq.Enumerable.WhereEnumerableIterator`1.ToList()
at DMD<DMD<>?10247893::MagicStorage.UI.States.CraftingUIState::UpdateRecipeText>(CraftingUIState this)
at SyncProxy<System.Void MagicStorage.UI.States.CraftingUIState:UpdateRecipeText()>(CraftingUIState )
at MagicStorage.UI.States.CraftingUIState.RecalculateRecipePanelElements(Int32 ingredientRows) in MagicStorage\UI\States\CraftingUIState.cs:line 493
at MagicStorage.UI.States.CraftingUIState.Refresh() in MagicStorage\UI\States\CraftingUIState.cs:line 692
at MagicStorage.Common.Systems.MagicUI.InvokeOnRefresh() in MagicStorage\Common\Systems\MagicUI.cs:line 107
at Terraria.Main.ConsumeAllMainThreadActions() in tModLoader\Terraria\Main.cs:line 14279
at DMD<System.Void Terraria.Main:Update(Microsoft.Xna.Framework.GameTime)>(Main this, GameTime gameTime)
at Hook<System.Void ThoriumMod.UI.ThoriumInterfaceResources::OnResolutionChanged(Terraria.On_Main+orig_Update,Terraria.Main,Microsoft.Xna.Framework.GameTime)>(Main , GameTime )
at Hook<System.Void DragonLens.Content.GUI.Tooltip::Reset(Terraria.On_Main+orig_Update,Terraria.Main,Microsoft.Xna.Framework.GameTime)>(Main , GameTime )
at SyncProxy<System.Void Terraria.Main:Update(Microsoft.Xna.Framework.GameTime)>(Main , GameTime )
at Microsoft.Xna.Framework.Game.Tick()
at Microsoft.Xna.Framework.Game.RunLoop()
at Microsoft.Xna.Framework.Game.Run()
at Terraria.Program.RunGame()
at Terraria.Program.LaunchGame_(Boolean isServer)
at Terraria.Program.LaunchGame(String[] args, Boolean monoArgs)
at Terraria.MonoLaunch.Main_End(String[] args)
at Terraria.MonoLaunch.<>c__DisplayClass1_0.<Main>b__1()

[12:07:37.536] [Main Thread/FATAL] [tML]: Main engine crash

System.EntryPointNotFoundException: Entry point was not found.
at System.Collections.Generic.IEnumerable`1.GetEnumerator()
at System.Linq.Enumerable.WhereEnumerableIterator`1.ToList()
at DMD<DMD<>?10247893::MagicStorage.UI.States.CraftingUIState::UpdateRecipeText>(CraftingUIState this)
at SyncProxy<System.Void MagicStorage.UI.States.CraftingUIState:UpdateRecipeText()>(CraftingUIState )
at MagicStorage.UI.States.CraftingUIState.RecalculateRecipePanelElements(Int32 ingredientRows) in MagicStorage\UI\States\CraftingUIState.cs:line 493
at MagicStorage.UI.States.CraftingUIState.Refresh() in MagicStorage\UI\States\CraftingUIState.cs:line 692
at MagicStorage.Common.Systems.MagicUI.InvokeOnRefresh() in MagicStorage\Common\Systems\MagicUI.cs:line 107
at Terraria.Main.ConsumeAllMainThreadActions() in tModLoader\Terraria\Main.cs:line 14279
at DMD<System.Void Terraria.Main:Update(Microsoft.Xna.Framework.GameTime)>(Main this, GameTime gameTime)
at Hook<System.Void ThoriumMod.UI.ThoriumInterfaceResources::OnResolutionChanged(Terraria.On_Main+orig_Update,Terraria.Main,Microsoft.Xna.Framework.GameTime)>(Main , GameTime )
at Hook<System.Void DragonLens.Content.GUI.Tooltip::Reset(Terraria.On_Main+orig_Update,Terraria.Main,Microsoft.Xna.Framework.GameTime)>(Main , GameTime )
at SyncProxy<System.Void Terraria.Main:Update(Microsoft.Xna.Framework.GameTime)>(Main , GameTime )
at Microsoft.Xna.Framework.Game.Tick()
at Microsoft.Xna.Framework.Game.RunLoop()
at Microsoft.Xna.Framework.Game.Run()
at Terraria.Program.RunGame()
[12:07:37.537] [Main Thread/DEBUG] [TerrariaSteamClient]: Send: shutdown
< >
正在显示第 1 - 8 条,共 8 条留言
absoluteAquarian  [开发者] 6 月 24 日 上午 11:58 
This is a pretty old but that iirc the document in the pinned Bugs/FAQ discussion mentions.
For whatever reason, your .NET install is corrupted and needs to be reinstalled.
HeroMan 6 月 24 日 下午 12:36 
Unfortunately, that doesn't help; removed the dotnet folder and reinstalled .net (went from 8.0.14 to 8.0.17) and no dice.
[21:31:54.657] [Main Thread/WARN] [tML]: Silently Caught Exception: System.EntryPointNotFoundException: Entry point was not found. at System.Collections.Generic.IEnumerable`1.GetEnumerator() at System.Linq.Enumerable.WhereEnumerableIterator`1.ToList() at DMD<DMD<>?13979583::MagicStorage.UI.States.CraftingUIState::UpdateRecipeText>(CraftingUIState this) at SyncProxy<System.Void MagicStorage.UI.States.CraftingUIState:UpdateRecipeText()>(CraftingUIState ) at MagicStorage.UI.States.CraftingUIState.RecalculateRecipePanelElements(Int32 ingredientRows) in MagicStorage\UI\States\CraftingUIState.cs:line 493 at MagicStorage.UI.States.CraftingUIState.Refresh() in MagicStorage\UI\States\CraftingUIState.cs:line 692 at MagicStorage.Common.Systems.MagicUI.InvokeOnRefresh() in MagicStorage\Common\Systems\MagicUI.cs:line 107 at Terraria.Main.ConsumeAllMainThreadActions() in tModLoader\Terraria\Main.cs:line 14279 at DMD<System.Void Terraria.Main:Update(Microsoft.Xna.Framework.GameTime)>(Main this, GameTime gameTime) at Hook<System.Void ThoriumMod.UI.ThoriumInterfaceResources::OnResolutionChanged(Terraria.On_Main+orig_Update,Terraria.Main,Microsoft.Xna.Framework.GameTime)>(Main , GameTime ) at SyncProxy<System.Void Terraria.Main:Update(Microsoft.Xna.Framework.GameTime)>(Main , GameTime ) at Microsoft.Xna.Framework.Game.Tick() at Microsoft.Xna.Framework.Game.RunLoop() at Microsoft.Xna.Framework.Game.Run() at Terraria.Program.RunGame() at Terraria.Program.LaunchGame_(Boolean isServer) at Terraria.Program.LaunchGame(String[] args, Boolean monoArgs) at Terraria.MonoLaunch.Main_End(String[] args) at Terraria.MonoLaunch.<>c__DisplayClass1_0.<Main>b__1() [21:31:54.714] [Main Thread/FATAL] [tML]: Main engine crash System.EntryPointNotFoundException: Entry point was not found. at System.Collections.Generic.IEnumerable`1.GetEnumerator() at System.Linq.Enumerable.WhereEnumerableIterator`1.ToList() at DMD<DMD<>?13979583::MagicStorage.UI.States.CraftingUIState::UpdateRecipeText>(CraftingUIState this) at SyncProxy<System.Void MagicStorage.UI.States.CraftingUIState:UpdateRecipeText()>(CraftingUIState ) at MagicStorage.UI.States.CraftingUIState.RecalculateRecipePanelElements(Int32 ingredientRows) in MagicStorage\UI\States\CraftingUIState.cs:line 493 at MagicStorage.UI.States.CraftingUIState.Refresh() in MagicStorage\UI\States\CraftingUIState.cs:line 692 at MagicStorage.Common.Systems.MagicUI.InvokeOnRefresh() in MagicStorage\Common\Systems\MagicUI.cs:line 107 at Terraria.Main.ConsumeAllMainThreadActions() in tModLoader\Terraria\Main.cs:line 14279 at DMD<System.Void Terraria.Main:Update(Microsoft.Xna.Framework.GameTime)>(Main this, GameTime gameTime) at Hook<System.Void ThoriumMod.UI.ThoriumInterfaceResources::OnResolutionChanged(Terraria.On_Main+orig_Update,Terraria.Main,Microsoft.Xna.Framework.GameTime)>(Main , GameTime ) at SyncProxy<System.Void Terraria.Main:Update(Microsoft.Xna.Framework.GameTime)>(Main , GameTime ) at Microsoft.Xna.Framework.Game.Tick() at Microsoft.Xna.Framework.Game.RunLoop() at Microsoft.Xna.Framework.Game.Run() at Terraria.Program.RunGame() [21:31:54.717] [Main Thread/DEBUG] [TerrariaSteamClient]: Send: shutdown
My recursion is set to 3.
absoluteAquarian  [开发者] 6 月 24 日 下午 12:42 
Not sure what to say then, that error is caused by a corrupted .NET install and is usually fixed by reinstalling.
ModdedNostalgia 6 月 24 日 下午 12:45 
引用自 absoluteAquarian
This is a pretty old but that iirc the document in the pinned Bugs/FAQ discussion mentions.
For whatever reason, your .NET install is corrupted and needs to be reinstalled.
Yeah I did the same thing as HeroMan: updated the .NET by deleting it and re-running the game and it crashed again while trying to click on something to craft. Recursion is still set to -1.
HeroMan 6 月 24 日 下午 12:45 
I did, though. It started happening after 0.7 update; I'll have to check if it works without recursion, though ideally it'd work with it, but I understand that it's not simple to debug such things :)
引用自 absoluteAquarian
Not sure what to say then, that error is caused by a corrupted .NET install and is usually fixed by reinstalling.
I tested it without recursion, and everything works fine, but the moment any recursion is used, it breaks like this. dotnet is updated and surely not corrupt, and this was all working before it updated this afternoon to 0.7.0.4 (Previously on 0.6.0.3)
HeroMan 6 月 26 日 下午 1:29 
Okay, got it - it's incompatible with Improved Item Info (https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2827162563). After disabling it it started working fine.

@EDIT

Nevermind, it was VanillaQOL+. It's patched on their side now.
最后由 HeroMan 编辑于; 6 月 26 日 下午 1:33
引用自 HeroMan
Okay, got it - it's incompatible with Improved Item Info (https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2827162563). After disabling it it started working fine.

@EDIT

Nevermind, it was VanillaQOL+. It's patched on their side now.
Yep - Pannoniæ had a fix for the loading screen that pops up when using recursion and it is now auto-disabled for the time being. I'm just gonna have to live with a loading screen with recursion for now lol
< >
正在显示第 1 - 8 条,共 8 条留言
每页显示数: 1530 50