tModLoader

tModLoader

Starlight River
coi 7 Aug, 2023 @ 2:58pm
Game fatally crashes when entering underground area under desert that has the firebug things after getting starsight.
Title says it all. Error code is as follows:

[16:50:15.719] [Main Thread/WARN] [tML]: Silently Caught Exception:
System.InvalidOperationException: Begin has been called before calling End after the last call to Begin. Begin cannot be called again until End has been successfully called.
at Microsoft.Xna.Framework.Graphics.SpriteBatch.Begin(SpriteSortMode sortMode, BlendState blendState, SamplerState samplerState, DepthStencilState depthStencilState, RasterizerState rasterizerState, Effect effect, Matrix transformationMatrix) in D:\a\tModLoader\tModLoader\FNA\src\Graphics\SpriteBatch.cs:line 278
at DMD<System.Void Terraria.Main:DoDraw_WallsTilesNPCs()>(Main this)
at SyncProxy<System.Void Terraria.Main:DoDraw_WallsTilesNPCs()>(Main )
at DMD<System.Void Terraria.Main:DoDraw(Microsoft.Xna.Framework.GameTime)>(Main this, GameTime gameTime)
at GravityDontFlipScreen.GravityFlipSystem.Main_DoDraw(orig_DoDraw orig, Main self, GameTime gameTime) in GravityDontFlipScreen\GravityFlipSystem.cs:line 116
at Hook<System.Void GravityDontFlipScreen.GravityFlipSystem::Main_DoDraw(Terraria.On_Main+orig_DoDraw,Terraria.Main,Microsoft.Xna.Framework.GameTime)>(Main , GameTime )
at SyncProxy<System.Void Terraria.Main:DoDraw(Microsoft.Xna.Framework.GameTime)>(Main , GameTime )
at Terraria.Main.Draw_Inner(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 52774
at Terraria.Main.Draw(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 52761
at Microsoft.Xna.Framework.Game.Tick() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 562
at Microsoft.Xna.Framework.Game.RunLoop() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 878
at Microsoft.Xna.Framework.Game.Run() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 419
at Terraria.Program.RunGame() in tModLoader\Terraria\Program.cs:line 266
at Terraria.Program.LaunchGame_(Boolean isServer) in tModLoader\Terraria\Program.cs:line 240
at Terraria.Program.LaunchGame(String[] args, Boolean monoArgs) in tModLoader\Terraria\Program.cs:line 215
at Terraria.MonoLaunch.Main_End(String[] args) in tModLoader\Terraria\MonoLaunch.cs:line 71
at Terraria.MonoLaunch.<>c__DisplayClass1_0.<Main>b__0() in tModLoader\Terraria\MonoLaunch.cs:line 57
at System.Threading.Thread.StartCallback()

[16:50:15.724] [Main Thread/ERROR] [Terraria]: System.InvalidOperationException: Begin has been called before calling End after the last call to Begin. Begin cannot be called again until End has been successfully called.
at Microsoft.Xna.Framework.Graphics.SpriteBatch.Begin(SpriteSortMode sortMode, BlendState blendState, SamplerState samplerState, DepthStencilState depthStencilState, RasterizerState rasterizerState, Effect effect, Matrix transformationMatrix) in D:\a\tModLoader\tModLoader\FNA\src\Graphics\SpriteBatch.cs:line 278
at DMD<System.Void Terraria.Main:DoDraw_WallsTilesNPCs()>(Main this)
at SyncProxy<System.Void Terraria.Main:DoDraw_WallsTilesNPCs()>(Main )
at DMD<System.Void Terraria.Main:DoDraw(Microsoft.Xna.Framework.GameTime)>(Main this, GameTime gameTime)
at GravityDontFlipScreen.GravityFlipSystem.Main_DoDraw(orig_DoDraw orig, Main self, GameTime gameTime) in GravityDontFlipScreen\GravityFlipSystem.cs:line 116
at Hook<System.Void GravityDontFlipScreen.GravityFlipSystem::Main_DoDraw(Terraria.On_Main+orig_DoDraw,Terraria.Main,Microsoft.Xna.Framework.GameTime)>(Main , GameTime )
at SyncProxy<System.Void Terraria.Main:DoDraw(Microsoft.Xna.Framework.GameTime)>(Main , GameTime )
at Terraria.Main.Draw_Inner(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 52784
at Terraria.Main.Draw(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 52765
[16:50:15.794] [Main Thread/FATAL] [tML]: Main engine crash

Tip: This is likely a mod's fault. Disable mods one by one and check if the issue persists

System.InvalidOperationException: Begin has been called before calling End after the last call to Begin. Begin cannot be called again until End has been successfully called.
at Microsoft.Xna.Framework.Graphics.SpriteBatch.Begin(SpriteSortMode sortMode, BlendState blendState, SamplerState samplerState, DepthStencilState depthStencilState, RasterizerState rasterizerState, Effect effect, Matrix transformationMatrix) in D:\a\tModLoader\tModLoader\FNA\src\Graphics\SpriteBatch.cs:line 278
at DMD<System.Void Terraria.Main:DoDraw_WallsTilesNPCs()>(Main this)
at SyncProxy<System.Void Terraria.Main:DoDraw_WallsTilesNPCs()>(Main )
at DMD<System.Void Terraria.Main:DoDraw(Microsoft.Xna.Framework.GameTime)>(Main this, GameTime gameTime)
at GravityDontFlipScreen.GravityFlipSystem.Main_DoDraw(orig_DoDraw orig, Main self, GameTime gameTime) in GravityDontFlipScreen\GravityFlipSystem.cs:line 116
at Hook<System.Void GravityDontFlipScreen.GravityFlipSystem::Main_DoDraw(Terraria.On_Main+orig_DoDraw,Terraria.Main,Microsoft.Xna.Framework.GameTime)>(Main , GameTime )
at SyncProxy<System.Void Terraria.Main:DoDraw(Microsoft.Xna.Framework.GameTime)>(Main , GameTime )
at Terraria.Main.Draw_Inner(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 52784
at Terraria.Main.Draw(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 52765
at Microsoft.Xna.Framework.Game.Tick() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 562
at Microsoft.Xna.Framework.Game.RunLoop() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 878
at Microsoft.Xna.Framework.Game.Run() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 419
at Terraria.Program.RunGame() in tModLoader\Terraria\Program.cs:line 266
[16:50:15.813] [Main Thread/DEBUG] [TerrariaSteamClient]: Send: shutdown

Modlist is as follows:
Boss Checklist
OmniSwing
AlchemistNPC Lite
Hook Stats and Wing Stats
Ore Excavator
Boss Cursor
Shorter Respawn Time
Fargo's Mutant Mod
Teleport All NPC Home
Free Block Placing - Place block on air!
Gravitation Don't Flip The Screen
Hairstyles Unlock
ParticleLibrary
YAQOLM - Yet Another Quality of Life Mod
MerchantsPlus
Autofish
Cheat Sheet
Starlight River (obviously)

Game runs fine until entering underground forge(?) area that the Raven or whatever NPC it is that shows you it. This only happens /after/ acquiring Starsight, as I could enter before just fine. Could it be a mod incompatability?
< >
Showing 1-4 of 4 comments
Static Shroomite 7 Aug, 2023 @ 4:49pm 
I had the same issue and disabled all my mods and made a new world and character, save for cheat sheet and I had the same bug happen again. I guess its maybe a bug after they fixed Alican's intro event?
Yigzat 7 Aug, 2023 @ 9:52pm 
yeah same thing happens every time i try to go to the upper left side of the biome, must be a bug with rendering the npc that spawns there
B00m Fly. 8 Aug, 2023 @ 8:23am 
Deffo a loading bug, I tested entering the Biome and hooking onto the ceiling, and only when I dropped did it crash.
coi 8 Aug, 2023 @ 9:36am 
Bug was fixed with recent version update 0.2.4.1, literally a few hours after I made this post :P

Thanks, devs!
< >
Showing 1-4 of 4 comments
Per page: 1530 50