tModLoader

tModLoader

Fancy Lighting
Crashing bug
This is the message I get: "Main engine crash
System AggregateException: One or more errors occurred. (Index was outside the bounds of the array.) (Index was outside the bounds of the array.) (Index was outside the bounds of the array.)
---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Fancylighting.Lighting Engines.FancyLighting EngineBase.<>c__DisplayClass32_0.<UpdateLightMasks>b_1(Int32 i) in FancyLighting EngineBase.cs:line 326
at System.Threading Tasks.Parallel, <>c__DisplayClass19_0'2.<ForWorker b_1(RangeWorker& currentWorker, Int64 timeout, Boolean& replicationDelegateYielded Before Completion)
End of stack trace from previous location.
at System.Threading.Tasks.Parallel.<>c__DisplayClass19_0^2 <ForWorker>b_1(RangeWorker& currentWorker, Int64 timeout, Boolean& replicationDelegate Vielded BeforeCompletion)
at System.Threading Tasks, TaskReplicator Replica.Execute()
--- End of inner exception stack trace
at System.Threading.Tasks. TaskReplicator Run [TState) (ReplicatableUserAction 1 action, Parallel Options options, Boolean stopOnFirstFailure)
at System.Threading Tasks. Parallel.ForWorker TLocal, Tint) (Tint fromInclusive, Tint toExclusive, Parallel Options parallelOptions, Action 1 body, Action 2 bodyWithState, Func 4 bodyWithLocal, Func 1 locallnit, Action'1 localFinally)
End of stack trace from previous location
System.Threading Tasks.Parallel.ForWorker [TLocal, Tint) (Tint fromInclusive, Tint to Exclusive, Parallel Options parallel Options, Action 1 body, Action 2 bodyWithState, Func 4 bodyWithLocal, Func'1 locallnit, Action 1 localFinally)
at at FancyLighting Lighting Engines.FancyLighting EngineBase.UpdateLightMasks(LightMaskMode[] lightMasks, Int32 width, Int32 height) in FancyLighting EngineBase.cs:line 313
at FancyLighting Lighting Engines.FancyLighting Engine1XSpreadLight(LightMap lightMap, Vector3[] colors, LightMaskMode[] lightMasks, Int32 width, Int32 height) in FancyLighting Engine1X.cs:line 185
at FancyLighting.Fancy Lighting Mod LightMap Blur(orig Blur orig, LightMap self) in FancyLightingMod.cs:line 1432
at
Hook System. Void FancyLighting.Fancy Lighting Mod: LightMap Blur(Terraria.Graphics.Light.On LightMap+orig Blur, Terraria.Graphics.Light.LightMap)> (LightMap)
at SyncProxy <System. Void Terraria.Graphics.Light.LightMap:Blur()> (LightMap)
at FancyLighting.FancyLighting Mod. LightingEngine ProcessBlur(orig_ProcessBlur orig, Lighting Engine self) in FancyLightingMod.cs:line 1410
at Hook System. Void FancyLighting FancyLightingMod: Lighting Engine_ProcessBlur(Terraria.Graphics.Light.On_Lighting Engine+orig_ProcessBlur, Terraria.Graphics.Light.Lighting Engine)>(Lighting Engine)
at SyncProxy <System. Void Terraria.Graphics.Light.LightingEngine:ProcessBlur()>(Lighting Engine)
at Terraria.Graphics.Light.Lighting Engine ProcessArea (Rectangle area) in tModLoader Terraria\Graphics\Light LightingEngine.cs:line 93
at Terraria.Lighting LightTiles(Int32 firstX, Int32 lastX, Int32 firstY, Int32 lasty) in tModLoader\Terraria\Lighting.cs:line 90
at FancyLighting.FancyLighting Mod._Main_DoLightTiles(orig_DoLightTiles orig, Main self) in Fancy LightingMod.cs:line 1336
at Hook System. Void FancyLighting.Fancy LightingMod::_Main_DoLight Tiles(Terraria.On_Main+orig_DoLight Tiles, Terraria.Main)>(Main)
at SyncProxy System Void Terraria.Main:DoLightTiles()>(Main)
at DMD DMD<>263159123 Terraria.Main::DoDraw>(Main this, GameTime gameTime)
at Hook<System.Void Fancylighting.FancyLightingMod:_Main_DoDraw(Terraria.On_Main+orig_DoDraw, Terraria. Main, Microsoft.Xna.Framework.GameTime)>(Main, GameTime)
at HighFPSSupport TickRateModifier.OnDraw(orig_DoDraw orig, Main self, GameTime gameTime) in HighFPSSupport\TickRateModifier.cs:line 75
at Hook System. Void HighFPSSupport.TickRateModifier::OnDraw(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 53152
at Terraria.Main Draw(GameTime gameTime) in tModLoader Terraria\Main.cs:line 53139
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
> (Inner Exception #1) System.IndexOutOfRangeException: Index was outside the bounds of the array
at FancyLighting.Lighting Engines.FancyLighting EngineBase.<>c__DisplayClass320. <UpdateLightMasks>b_1(Int32 i) in FancyLightingEngineBase.cs:line 326
at System.Threading Tasks. Parallel.<>c__DisplayClass19_02 <ForWorker>b_1(RangeWorker& currentWorker, Int64 timeout, Boolean& replicationDelegateYielded BeforeCompletion)
End of stack trace from previous location...
at System.Threading Tasks. Parallel.<>c__DisplayClass19_0°2.<ForWorker>b_1(RangeWorker& currentWorker, Int64 timeout, Boolean& replicationDelegateYielded BeforeCompletion)
at System.Threading.Tasks. TaskReplicator Replica.Execute()<
---> (Inner Exception #2) System.IndexOutOfRangeException: Index was outside the bounds of the array
at FancyLighting Lighting Engines.FancyLighting EngineBase.<>c__DisplayClass32_0. <UpdateLightMasks>b_1(Int32 i) in Fancy Lighting EngineBase.cs:line 326
at System.Threading.Tasks.Parallel.<>c__DisplayClass19_0°2.<ForWorker>t_1(RangeWorker& currentWorker, Int64 timeout, Boolean& replicationDelegate YieldedBeforeCompletion)
End of stack trace from previous location
at System.Threading Tasks.Parallel.<>c__DisplayClass19_0^2<ForWorker b_1(RangeWorker& currentWorker, Int64 timeout, Boolean& replicationDelegateYielded BeforeCompletion)
at System.Threading Tasks. TaskReplicator.Replica.Execute()<--". I was playing infernum multiplayer with my friends(the crash also occurs on singleplayer) when somehow i crashed when going to the sky at a specific level, and when going into the Lost Colosseum. There are a lot of mods used in the game which are:
SimpleSmoothCamera
Loot Beams
LookMod
Lights
LifeSourcesLight
LansSimpleHealthbar
HighFPSSupport
FancyLighting -Disabled
BTitles
BossCursor
BetterBossBarPluS
BetterBlending
DisableCorruptionSpread
PrettyRarities
Twaila
ModSideIcon
LowHealthEffects
LightingEssentials
TerrariaAmbienceAPI
TerrariaAmbience
DPSExtreme
TerraVoice
Sloprain -Disabled
AlchemistNPCLite
BagSalesman
BossChecklist
CalamityMod
CalamityModMusic
Improved Torches -Missing
Census
ClamExtraMusic
CollisionLib
Dialogue Tweak
Enhanced TeamUIDisplay
ENNWAYMUsicPack
Infernum Mode
Infernum ModeMusic
MagicStorage
miningcracks_take_on_luiafk
Multiplayer Cursors
NPCControl
OreExcavator
RecipeBrowser
SerousCommonLib
Subwor IdLibrary
CatalystMod
Directional Melee
Luminance
I would really appreciate if this bug is fixed.
< >
Showing 1-3 of 3 comments
Rex  [developer] 17 Aug @ 7:25am 
This should be fixed in the next update.
Thank you. Very.
Rex  [developer] 30 Aug @ 4:26pm 
This should (hopefully) be fixed now.
< >
Showing 1-3 of 3 comments
Per page: 1530 50