tModLoader

tModLoader

Exxo Avalon Origins
JJ's Place Sep 1, 2024 @ 6:08pm
World Gen crash with advanced world generation
Logs:
[20:05:40.432] [WorldGen/WARN] [tML]: Silently Caught Exception:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at DMD<System.Boolean Terraria.WorldGen:PlaceTile(System.Int32, System.Int32, System.Int32, System.Boolean, System.Boolean, System.Int32, System.Int32)>(Int32 i, Int32 j, Int32 Type, Boolean mute, Boolean forced, Int32 plr, Int32 style)
at Avalon.Hooks.CattailHooks.PlaceTile(orig_PlaceTile orig, Int32 i, Int32 j, Int32 Type, Boolean mute, Boolean forced, Int32 plr, Int32 style)
at Hook<System.Boolean Avalon.Hooks.CattailHooks::PlaceTile(Terraria.On_WorldGen+orig_PlaceTile,System.Int32,System.Int32,System.Int32,System.Boolean,System.Boolean,System.Int32,System.Int32)>(Int32 , Int32 , Int32 , Boolean , Boolean , Int32 , Int32 )
at Hook<System.Boolean TeamCatalyst.Nitrate.API.Listeners.TileStateChangedListener/TileStateChangedListenerImpl::PlaceTile(Terraria.On_WorldGen+orig_PlaceTile,System.Int32,System.Int32,System.Int32,System.Boolean,System.Boolean,System.Int32,System.Int32)>(Int32 , Int32 , Int32 , Boolean , Boolean , Int32 , Int32 )
at SyncProxy<System.Boolean Terraria.WorldGen:PlaceTile(System.Int32, System.Int32, System.Int32, System.Boolean, System.Boolean, System.Int32, System.Int32)>(Int32 , Int32 , Int32 , Boolean , Boolean , Int32 , Int32 )
at VervMC.Items.SpawnerSystem.PlaceSpawners()
at WorldGenPreviewer.WorldGenPreviewerModSystem.On_WorldGenerator_GenerateWorld(orig_GenerateWorld orig, WorldGenerator self, GenerationProgress progress)
at Hook<System.Void WorldGenPreviewer.WorldGenPreviewerModSystem::On_WorldGenerator_GenerateWorld(Terraria.WorldBuilding.On_WorldGenerator+orig_GenerateWorld,Terraria.WorldBuilding.WorldGenerator,Terraria.WorldBuilding.GenerationProgress)>(WorldGenerator , GenerationProgress )
at AdvancedWorldGen.BetterVanillaWorldGen.Replacer.ChangeWeights(orig_GenerateWorld orig, WorldGenerator self, GenerationProgress progress)
at Hook<System.Void AdvancedWorldGen.BetterVanillaWorldGen.Replacer::ChangeWeights(Terraria.WorldBuilding.On_WorldGenerator+orig_GenerateWorld,Terraria.WorldBuilding.WorldGenerator,Terraria.WorldBuilding.GenerationProgress)>(WorldGenerator , GenerationProgress )
at SyncProxy<System.Void Terraria.WorldBuilding.WorldGenerator:GenerateWorld(Terraria.WorldBuilding.GenerationProgress)>(WorldGenerator , GenerationProgress )
at Terraria.WorldGen.GenerateWorld_RunTasksAndFinish(Int32 seed, Stopwatch generationStopwatch, GenerationProgress customProgressObject)
at DMD<System.Void Terraria.WorldGen:GenerateWorld(System.Int32, Terraria.WorldBuilding.GenerationProgress)>(Int32 seed, GenerationProgress customProgressObject)
at SyncProxy<System.Void Terraria.WorldGen:GenerateWorld(System.Int32, Terraria.WorldBuilding.GenerationProgress)>(Int32 , GenerationProgress )
at DMD<System.Void Terraria.WorldGen:do_worldGenCallBack(System.Object)>(Object threadContext)
at AdvancedWorldGen.UI.UIChanger.<>c__DisplayClass10_0.<ThreadifyWorldGen>b__0()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)

[20:05:40.436] [WorldGen/WARN] [tML]: Silently Caught Exception:
System.BadImageFormatException: Read out of bounds.
at System.Reflection.Throw.OutOfBounds()
at System.Diagnostics.StackTraceSymbols.GetSourceLineInfo(Assembly assembly, String assemblyPath, IntPtr loadedPeAddress, Int32 loadedPeSize, Boolean isFileLayout, IntPtr inMemoryPdbAddress, Int32 inMemoryPdbSize, Int32 methodToken, Int32 ilOffset, String& sourceFile, Int32& sourceLine, Int32& sourceColumn)
at System.Diagnostics.StackFrameHelper.InitializeSourceInfo(Int32 iSkip, Boolean fNeedFileInfo, Exception exception)
at DMD<System.Void System.Diagnostics.StackTrace:CaptureStackTrace(System.Int32, System.Boolean, System.Exception)>(StackTrace this, Int32 skipFrames, Boolean fNeedFileInfo, Exception e)
at Hook<System.Void Terraria.ModLoader.Engine.LoggingHooks::Hook_StackTrace_CaptureStackTrace(Terraria.ModLoader.Engine.LoggingHooks+orig_StackTrace_CaptureStackTrace,System.Diagnostics.StackTrace,System.Int32,System.Boolean,System.Exception)>(StackTrace , Int32 , Boolean , Exception )
at SyncProxy<System.Void System.Diagnostics.StackTrace:CaptureStackTrace(System.Int32, System.Boolean, System.Exception)>(StackTrace , Int32 , Boolean , Exception )
at System.Exception.get_StackTrace()
at System.Exception.ToString()
at System.String.JoinCore(ReadOnlySpan`1 separator, Object[] values)
at System.String.Join(String separator, Object[] values)
at WorldGenPreviewer.WorldGenPreviewerModSystem.On_WorldGenerator_GenerateWorld(orig_GenerateWorld orig, WorldGenerator self, GenerationProgress progress)
at Hook<System.Void WorldGenPreviewer.WorldGenPreviewerModSystem::On_WorldGenerator_GenerateWorld(Terraria.WorldBuilding.On_WorldGenerator+orig_GenerateWorld,Terraria.WorldBuilding.WorldGenerator,Terraria.WorldBuilding.GenerationProgress)>(WorldGenerator , GenerationProgress )
at AdvancedWorldGen.BetterVanillaWorldGen.Replacer.ChangeWeights(orig_GenerateWorld orig, WorldGenerator self, GenerationProgress progress)
at Hook<System.Void AdvancedWorldGen.BetterVanillaWorldGen.Replacer::ChangeWeights(Terraria.WorldBuilding.On_WorldGenerator+orig_GenerateWorld,Terraria.WorldBuilding.WorldGenerator,Terraria.WorldBuilding.GenerationProgress)>(WorldGenerator , GenerationProgress )
at SyncProxy<System.Void Terraria.WorldBuilding.WorldGenerator:GenerateWorld(Terraria.WorldBuilding.GenerationProgress)>(WorldGenerator , GenerationProgress )
at Terraria.WorldGen.GenerateWorld_RunTasksAndFinish(Int32 seed, Stopwatch generationStopwatch, GenerationProgress customProgressObject)
at DMD<System.Void Terraria.WorldGen:GenerateWorld(System.Int32, Terraria.WorldBuilding.GenerationProgress)>(Int32 seed, GenerationProgress customProgressObject)
at SyncProxy<System.Void Terraria.WorldGen:GenerateWorld(System.Int32, Terraria.WorldBuilding.GenerationProgress)>(Int32 , GenerationProgress )
at DMD<System.Void Terraria.WorldGen:do_worldGenCallBack(System.Object)>(Object threadContext)
at AdvancedWorldGen.UI.UIChanger.<>c__DisplayClass10_0.<ThreadifyWorldGen>b__0()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)

[20:05:40.436] [WorldGen/ERROR] [tML]: A problem was encountered during world generation
Post Terrain
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at DMD<System.Boolean Terraria.WorldGen:PlaceTile(System.Int32, System.Int32, System.Int32, System.Boolean, System.Boolean, System.Int32, System.Int32)>(Int32 i, Int32 j, Int32 Type, Boolean mute, Boolean forced, Int32 plr, Int32 style)
at Avalon.Hooks.CattailHooks.PlaceTile(orig_PlaceTile orig, Int32 i, Int32 j, Int32 Type, Boolean mute, Boolean forced, Int32 plr, Int32 style)
at Hook<System.Boolean Avalon.Hooks.CattailHooks::PlaceTile(Terraria.On_WorldGen+orig_PlaceTile,System.Int32,System.Int32,System.Int32,System.Boolean,System.Boolean,System.Int32,System.Int32)>(Int32 , Int32 , Int32 , Boolean , Boolean , Int32 , Int32 )
at Hook<System.Boolean TeamCatalyst.Nitrate.API.Listeners.TileStateChangedListener/TileStateChangedListenerImpl::PlaceTile(Terraria.On_WorldGen+orig_PlaceTile,System.Int32,System.Int32,System.Int32,System.Boolean,System.Boolean,System.Int32,System.Int32)>(Int32 , Int32 , Int32 , Boolean , Boolean , Int32 , Int32 )
at SyncProxy<System.Boolean Terraria.WorldGen:PlaceTile(System.Int32, System.Int32, System.Int32, System.Boolean, System.Boolean, System.Int32, System.Int32)>(Int32 , Int32 , Int32 , Boolean , Boolean , Int32 , Int32 )
at VervMC.Items.SpawnerSystem.PlaceSpawners()
at WorldGenPreviewer.WorldGenPreviewerModSystem.On_WorldGenerator_GenerateWorld(orig_GenerateWorld orig, WorldGenerator self, GenerationProgress progress)
[20:05:40.437] [WorldGen/WARN] [tML]: Silently Caught Exception:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at WorldGenPreviewer.WorldGenPreviewerModSystem.On_WorldGenerator_GenerateWorld(orig_GenerateWorld orig, WorldGenerator self, GenerationProgress progress)
at Hook<System.Void WorldGenPreviewer.WorldGenPreviewerModSystem::On_WorldGenerator_GenerateWorld(Terraria.WorldBuilding.On_WorldGenerator+orig_GenerateWorld,Terraria.WorldBuilding.WorldGenerator,Terraria.WorldBuilding.GenerationProgress)>(WorldGenerator , GenerationProgress )
at AdvancedWorldGen.BetterVanillaWorldGen.Replacer.ChangeWeights(orig_GenerateWorld orig, WorldGenerator self, GenerationProgress progress)
at Hook<System.Void AdvancedWorldGen.BetterVanillaWorldGen.Replacer::ChangeWeights(Terraria.WorldBuilding.On_WorldGenerator+orig_GenerateWorld,Terraria.WorldBuilding.WorldGenerator,Terraria.WorldBuilding.GenerationProgress)>(WorldGenerator , GenerationProgress )
at SyncProxy<System.Void Terraria.WorldBuilding.WorldGenerator:GenerateWorld(Terraria.WorldBuilding.GenerationProgress)>(WorldGenerator , GenerationProgress )
at Terraria.WorldGen.GenerateWorld_RunTasksAndFinish(Int32 seed, Stopwatch generationStopwatch, GenerationProgress customProgressObject)
at DMD<System.Void Terraria.WorldGen:GenerateWorld(System.Int32, Terraria.WorldBuilding.GenerationProgress)>(Int32 seed, GenerationProgress customProgressObject)
at SyncProxy<System.Void Terraria.WorldGen:GenerateWorld(System.Int32, Terraria.WorldBuilding.GenerationProgress)>(Int32 , GenerationProgress )
at DMD<System.Void Terraria.WorldGen:do_worldGenCallBack(System.Object)>(Object threadContext)
at AdvancedWorldGen.UI.UIChanger.<>c__DisplayClass10_0.<ThreadifyWorldGen>b__0()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)

[20:05:40.437] [WorldGen/WARN] [tML]: Silently Caught Exception:
System.BadImageFormatException: Read out of bounds.
at System.Reflection.Throw.OutOfBounds()
at System.Diagnostics.StackTraceSymbols.GetSourceLineInfo(Assembly assembly, String assemblyPath, IntPtr loadedPeAddress, Int32 loadedPeSize, Boolean isFileLayout, IntPtr inMemoryPdbAddress, Int32 inMemoryPdbSize, Int32 methodToken, Int32 ilOffset, String& sourceFile, Int32& sourceLine, Int32& sourceColumn)
at System.Diagnostics.StackFrameHelper.InitializeSourceInfo(Int32 iSkip, Boolean fNeedFileInfo, Exception exception)
at DMD<System.Void System.Diagnostics.StackTrace:CaptureStackTrace(System.Int32, System.Boolean, System.Exception)>(StackTrace this, Int32 skipFrames, Boolean fNeedFileInfo, Exception e)
at Hook<System.Void Terraria.ModLoader.Engine.LoggingHooks::Hook_StackTrace_CaptureStackTrace(Terraria.ModLoader.Engine.LoggingHooks+orig_StackTrace_CaptureStackTrace,System.Diagnostics.StackTrace,System.Int32,System.Boolean,System.Exception)>(StackTrace , Int32 , Boolean , Exception )
at SyncProxy<System.Void System.Diagnostics.StackTrace:CaptureStackTrace(System.Int32, System.Boolean, System.Exception)>(StackTrace , Int32 , Boolean , Exception )
at System.Exception.get_StackTrace()
at System.Exception.ToString()
at AdvancedWorldGen.UI.UIChanger.<>c__DisplayClass10_0.<ThreadifyWorldGen>b__0()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)

[20:05:40.438] [WorldGen/WARN] [tML]: Silently Caught Exception:
System.BadImageFormatException: Read out of bounds.
at System.Reflection.Throw.OutOfBounds()
at System.Diagnostics.StackTraceSymbols.GetSourceLineInfo(Assembly assembly, String assemblyPath, IntPtr loadedPeAddress, Int32 loadedPeSize, Boolean isFileLayout, IntPtr inMemoryPdbAddress, Int32 inMemoryPdbSize, Int32 methodToken, Int32 ilOffset, String& sourceFile, Int32& sourceLine, Int32& sourceColumn)
at System.Diagnostics.StackFrameHelper.InitializeSourceInfo(Int32 iSkip, Boolean fNeedFileInfo, Exception exception)
at DMD<System.Void System.Diagnostics.StackTrace:CaptureStackTrace(System.Int32, System.Boolean, System.Exception)>(StackTrace this, Int32 skipFrames, Boolean fNeedFileInfo, Exception e)
at Hook<System.Void Terraria.ModLoader.Engine.LoggingHooks::Hook_StackTrace_CaptureStackTrace(Terraria.ModLoader.Engine.LoggingHooks+orig_StackTrace_CaptureStackTrace,System.Diagnostics.StackTrace,System.Int32,System.Boolean,System.Exception)>(StackTrace , Int32 , Boolean , Exception )
at SyncProxy<System.Void System.Diagnostics.StackTrace:CaptureStackTrace(System.Int32, System.Boolean, System.Exception)>(StackTrace , Int32 , Boolean , Exception )
at System.Exception.get_StackTrace()
at AdvancedWorldGen.UI.UIChanger.<>c__DisplayClass10_0.<ThreadifyWorldGen>b__0()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)

[20:05:58.712] [Main Thread/DEBUG] [tML]: Process.Start (UseShellExecute = True): "tModLoader-Logs"
< >
Showing 1-3 of 3 comments
blahblahbal  [developer] Sep 5, 2024 @ 5:34am 
Can you try to get this crash without nitrate?
JJ's Place Sep 5, 2024 @ 5:46am 
If i have time sure. But this crash hasn't happened in like a month so it seems to not be an issue anymore.
JJ's Place Sep 7, 2024 @ 7:06pm 
So i tried it and i cannot recreate the crash. Ill let you know if it ever comes up again though.
< >
Showing 1-3 of 3 comments
Per page: 1530 50