Terraria crashes constantly on second boot requiring a reinstall to fix.

Steam or GOG
Steam
Single Player/Multiplayer
Both
Operating System
Windows 7
Terraria Version
1.4.0.5
Controls Used
Keyboard/Mouse
Im not sure what is causing this but very recently (as in since last week) my copy of Terraria has been crashing every time on startup from the second time i attempt to play it per reinstall. Although reinstalling the game DOES fix the problem for one play session, the next and subsequent times i attempt to play the game gives me this error every time.
System.InvalidOperationException: A previous Draw call threw an unhandled exception. See InnerException for details. ---> Ionic.Zlib.ZlibException: Bad state (invalid block type)
at Ionic.Zlib.InflateManager.Inflate(FlushType flush)
at Ionic.Zlib.ZlibCodec.Inflate(FlushType flush)
at Ionic.Zlib.ZlibBaseStream.Read(Byte[] buffer, Int32 offset, Int32 count)
at Ionic.Zlib.DeflateStream.Read(Byte[] buffer, Int32 offset, Int32 count)
at Ionic.Crc.CrcCalculatorStream.Read(Byte[] buffer, Int32 offset, Int32 count)
at Ionic.Zip.ZipEntry.ExtractOne(Stream output)
at Ionic.Zip.ZipEntry.InternalExtract(String baseDir, Stream outstream, String password)
at ReLogic.Content.Sources.ZipContentSource.OpenStream(String assetName)
at ReLogic.Content.AssetLoader.TryLoad[T](String assetName, IContentSource source, T& resultAsset)
at ReLogic.Content.AssetRepository.TryLoadingAsset[T](Asset`1 asset, AssetRequestMode mode)
at ReLogic.Content.AssetRepository.LoadAsset[T](Asset`1 asset, AssetRequestMode mode)
at ReLogic.Content.AssetRepository.Request[T](String assetName, AssetRequestMode mode)
at Terraria.Initializers.AssetInitializer.LoadAsset[T](String assetName, AssetRequestMode mode)
at Terraria.Initializers.AssetInitializer.LoadTextures(AssetRequestMode mode)
at Terraria.Initializers.AssetInitializer.LoadAssetsWhileInInitialBlackScreen()
at Terraria.Main.<LoadContent_Deferred>d__1161.MoveNext()
at Terraria.Main.DrawSplash(GameTime gameTime)
at Terraria.Main.DoDraw(GameTime gameTime)
at Terraria.Main.Draw(GameTime gameTime)
at Microsoft.Xna.Framework.Game.DrawFrame()
at Microsoft.Xna.Framework.Game.Paint(Object sender, EventArgs e)
at Microsoft.Xna.Framework.GameWindow.OnPaint()
at Microsoft.Xna.Framework.WindowsGameWindow.mainForm_Paint(Object sender, PaintEventArgs e)
--- End of inner exception stack trace ---
at Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
at Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(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 System.Windows.Forms.Application.Run(Form mainForm)
at Microsoft.Xna.Framework.WindowsGameHost.Run()
at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
at Terraria.Program.LaunchGame(String[] args, Boolean monoArgs)

7/4/2020 5:31:24 PM
System.InvalidOperationException: A previous Draw call threw an unhandled exception. See InnerException for details. ---> Ionic.Zip.BadCrcException: CRC error: the file being extracted appears to be corrupted. Expected 0xDFDC42C6, Actual 0x3EACD9E9
at Ionic.Zip.ZipEntry.VerifyCrcAfterExtract(Int32 actualCrc32)
at Ionic.Zip.ZipEntry.InternalExtract(String baseDir, Stream outstream, String password)
at ReLogic.Content.Sources.ZipContentSource.OpenStream(String assetName)
at ReLogic.Content.AssetLoader.TryLoad[T](String assetName, IContentSource source, T& resultAsset)
at ReLogic.Content.AssetRepository.TryLoadingAsset[T](Asset`1 asset, AssetRequestMode mode)
at ReLogic.Content.AssetRepository.LoadAsset[T](Asset`1 asset, AssetRequestMode mode)
at ReLogic.Content.AssetRepository.Request[T](String assetName, AssetRequestMode mode)
at Terraria.Initializers.AssetInitializer.LoadAsset[T](String assetName, AssetRequestMode mode)
at Terraria.Initializers.AssetInitializer.LoadTextures(AssetRequestMode mode)
at Terraria.Initializers.AssetInitializer.LoadAssetsWhileInInitialBlackScreen()
at Terraria.Main.<LoadContent_Deferred>d__1161.MoveNext()
at Terraria.Main.DrawSplash(GameTime gameTime)
at Terraria.Main.DoDraw(GameTime gameTime)
at Terraria.Main.Draw(GameTime gameTime)
at Microsoft.Xna.Framework.Game.DrawFrame()
at Microsoft.Xna.Framework.Game.Paint(Object sender, EventArgs e)
at Microsoft.Xna.Framework.GameWindow.OnPaint()
at Microsoft.Xna.Framework.WindowsGameWindow.mainForm_Paint(Object sender, PaintEventArgs e)
--- End of inner exception stack trace ---
at Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
at Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(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 System.Windows.Forms.Application.Run(Form mainForm)
at Microsoft.Xna.Framework.WindowsGameHost.Run()
at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
at Terraria.Program.LaunchGame(String[] args, Boolean monoArgs)
 
Back
Top Bottom