After update.
[22:42:04.025] [Main Thread/ERROR] [Terraria]: System.NullReferenceException: Object reference not set to an instance of an object.
at terraguardians.TerraGuardianDrawLayersScript.DrawBehindLayer(PlayerDrawSet& drawInfo) in terraguardians\DrawLayers\TerraGuardianDrawLayers.cs:line 80
at Terraria.ModLoader.PlayerDrawLayer.DrawWithTransformationAndChildren(PlayerDrawSet& drawInfo) in tModLoader\Terraria\ModLoader\PlayerDrawLayer.cs:line 94
at Terraria.ModLoader.PlayerDrawLayer.DrawWithTransformationAndChildren(PlayerDrawSet& drawInfo) in tModLoader\Terraria\ModLoader\PlayerDrawLayer.cs:line 91
at DMD<System.Void Terraria.Graphics.Renderers.LegacyPlayerRenderer
rawPlayerInternal(Terraria.Graphics.Camera, Terraria.Player, Microsoft.Xna.Framework.Vector2, System.Single, Microsoft.Xna.Framework.Vector2, System.Single, System.Single, System.Single, System.Boolean)>(LegacyPlayerRenderer this, Camera camera, Player drawPlayer, Vector2 position, Single rotation, Vector2 rotationOrigin, Single shadow, Single alpha, Single scale, Boolean headOnly)
at Hook<System.Void ThoriumMod.PlayerLayers.TransformationHeadLayer::On_LegacyPlayerRenderer_DrawPlayerInternal(Terraria.Graphics.Renderers.On_LegacyPlayerRenderer+orig_DrawPlayerInternal,Terraria.Graphics.Renderers.LegacyPlayerRenderer,Terraria.Graphics.Camera,Terraria.Player,Microsoft.Xna.Framework.Vector2,System.Single,Microsoft.Xna.Framework.Vector2,System.Single,System.Single,System.Single,System.Boolean)>(LegacyPlayerRenderer , Camera , Player , Vector2 , Single , Vector2 , Single , Single , Single , Boolean )
at SyncProxy<System.Void Terraria.Graphics.Renderers.LegacyPlayerRenderer
rawPlayerInternal(Terraria.Graphics.Camera, Terraria.Player, Microsoft.Xna.Framework.Vector2, System.Single, Microsoft.Xna.Framework.Vector2, System.Single, System.Single, System.Single, System.Boolean)>(LegacyPlayerRenderer , Camera , Player , Vector2 , Single , Vector2 , Single , Single , Single , Boolean )
at terraguardians.TerraGuardiansPlayerRenderer.Terraria.Graphics.Renderers.IPlayerRenderer.DrawPlayer(Camera camera, Player drawPlayer, Vector2 position, Single rotation, Vector2 rotationOrigin, Single shadow, Single scale) in TerraGuardiansPlayerRenderer.cs:line 325
at StarlightRiver.Content.CustomHooks.PlayerTarget.DrawPlayerTarget() in StarlightRiver\Content\CustomHooks\Visuals.PlayerTarget.cs:line 191
at StarlightRiver.Content.CustomHooks.PlayerTarget.DrawTargets(orig_CheckMonoliths orig) in StarlightRiver\Content\CustomHooks\Visuals.PlayerTarget.cs:line 124
at Hook<System.Void StarlightRiver.Content.CustomHooks.PlayerTarget:
rawTargets(Terraria.On_Main+orig_CheckMonoliths)>()
at StarlightRiver.Content.CustomHooks.ReflectionTarget.SpecialDraww(orig_CheckMonoliths orig) in StarlightRiver\Content\CustomHooks\Visuals.ReflectionTarget.cs:line 82
at Hook<System.Void StarlightRiver.Content.CustomHooks.ReflectionTarget::SpecialDraww(Terraria.On_Main+orig_CheckMonoliths)>()
at StarlightRiver.Core.Systems.MetaballSystem.MetaballSystem.BuildTargets(orig_CheckMonoliths orig) in StarlightRiver\Core\Systems\MetaballSystem\MetaballSystem.cs:line 58
at Hook<System.Void StarlightRiver.Core.Systems.MetaballSystem.MetaballSystem::BuildTargets(Terraria.On_Main+orig_CheckMonoliths)>()
at SyncProxy<System.Void Terraria.Main:CheckMonoliths()>()
at DMD<System.Void Terraria.Main
oDraw(Microsoft.Xna.Framework.GameTime)>(Main this, GameTime gameTime)
at SyncProxy<System.Void Terraria.Main
oDraw(Microsoft.Xna.Framework.GameTime)>(Main , GameTime )
at Terraria.Main.Draw_Inner(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 52837
at Terraria.Main.Draw(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 52818
[22:42:04.121] [Main Thread/FATAL] [tML]: Main engine crash
SDL Error:
Tip: This is likely a mod's fault. Disable mods one by one and check if the issue persists
System.NullReferenceException: Object reference not set to an instance of an object.
at terraguardians.TerraGuardianDrawLayersScript.DrawBehindLayer(PlayerDrawSet& drawInfo) in terraguardians\DrawLayers\TerraGuardianDrawLayers.cs:line 80
at Terraria.ModLoader.PlayerDrawLayer.DrawWithTransformationAndChildren(PlayerDrawSet& drawInfo) in tModLoader\Terraria\ModLoader\PlayerDrawLayer.cs:line 94
at Terraria.ModLoader.PlayerDrawLayer.DrawWithTransformationAndChildren(PlayerDrawSet& drawInfo) in tModLoader\Terraria\ModLoader\PlayerDrawLayer.cs:line 91
at DMD<System.Void Terraria.Graphics.Renderers.LegacyPlayerRenderer
rawPlayerInternal(Terraria.Graphics.Camera, Terraria.Player, Microsoft.Xna.Framework.Vector2, System.Single, Microsoft.Xna.Framework.Vector2, System.Single, System.Single, System.Single, System.Boolean)>(LegacyPlayerRenderer this, Camera camera, Player drawPlayer, Vector2 position, Single rotation, Vector2 rotationOrigin, Single shadow, Single alpha, Single scale, Boolean headOnly)
at Hook<System.Void ThoriumMod.PlayerLayers.TransformationHeadLayer::On_LegacyPlayerRenderer_DrawPlayerInternal(Terraria.Graphics.Renderers.On_LegacyPlayerRenderer+orig_DrawPlayerInternal,Terraria.Graphics.Renderers.LegacyPlayerRenderer,Terraria.Graphics.Camera,Terraria.Player,Microsoft.Xna.Framework.Vector2,System.Single,Microsoft.Xna.Framework.Vector2,System.Single,System.Single,System.Single,System.Boolean)>(LegacyPlayerRenderer , Camera , Player , Vector2 , Single , Vector2 , Single , Single , Single , Boolean )
at SyncProxy<System.Void Terraria.Graphics.Renderers.LegacyPlayerRenderer
rawPlayerInternal(Terraria.Graphics.Camera, Terraria.Player, Microsoft.Xna.Framework.Vector2, System.Single, Microsoft.Xna.Framework.Vector2, System.Single, System.Single, System.Single, System.Boolean)>(LegacyPlayerRenderer , Camera , Player , Vector2 , Single , Vector2 , Single , Single , Single , Boolean )
at terraguardians.TerraGuardiansPlayerRenderer.Terraria.Graphics.Renderers.IPlayerRenderer.DrawPlayer(Camera camera, Player drawPlayer, Vector2 position, Single rotation, Vector2 rotationOrigin, Single shadow, Single scale) in TerraGuardiansPlayerRenderer.cs:line 325
at StarlightRiver.Content.CustomHooks.PlayerTarget.DrawPlayerTarget() in StarlightRiver\Content\CustomHooks\Visuals.PlayerTarget.cs:line 191
at StarlightRiver.Content.CustomHooks.PlayerTarget.DrawTargets(orig_CheckMonoliths orig) in StarlightRiver\Content\CustomHooks\Visuals.PlayerTarget.cs:line 124
at Hook<System.Void StarlightRiver.Content.CustomHooks.PlayerTarget:
rawTargets(Terraria.On_Main+orig_CheckMonoliths)>()
at StarlightRiver.Content.CustomHooks.ReflectionTarget.SpecialDraww(orig_CheckMonoliths orig) in StarlightRiver\Content\CustomHooks\Visuals.ReflectionTarget.cs:line 82
at Hook<System.Void StarlightRiver.Content.CustomHooks.ReflectionTarget::SpecialDraww(Terraria.On_Main+orig_CheckMonoliths)>()
at StarlightRiver.Core.Systems.MetaballSystem.MetaballSystem.BuildTargets(orig_CheckMonoliths orig) in StarlightRiver\Core\Systems\MetaballSystem\MetaballSystem.cs:line 58
at Hook<System.Void StarlightRiver.Core.Systems.MetaballSystem.MetaballSystem::BuildTargets(Terraria.On_Main+orig_CheckMonoliths)>()
at SyncProxy<System.Void Terraria.Main:CheckMonoliths()>()
at DMD<System.Void Terraria.Main
oDraw(Microsoft.Xna.Framework.GameTime)>(Main this, GameTime gameTime)
at SyncProxy<System.Void Terraria.Main
oDraw(Microsoft.Xna.Framework.GameTime)>(Main , GameTime )
at Terraria.Main.Draw_Inner(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 52837
at Terraria.Main.Draw(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 52818
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