ERROR Not-A-Number crash (modded)
Hello Team !
Currently playing on soft modded server (less that 40 active mods) we encounter a bug that comes really often.
Often when we lock and use weapons, the hosted game crash with a Not-A-Number error triggered.
Here is the stacktrace:
023-08-11 22:55:53.420 - Thread: 1 -> Exception occurred: System.ArithmeticException: Function does not accept floating point Not-a-Number values.
at System.Math.Sign(Double value)
at CoreSystems.Support.MathFuncs.GetRotationAngles(Vector3D& targetVector, MatrixD& matrix, Double& yaw, Double& pitch)
at CoreSystems.Platform.Weapon.LeadTarget(Weapon weapon, MyEntity target, Vector3D& targetPos, Boolean& couldHit, Boolean& willHit)
at WeaponCore.Data.Scripts.CoreSystems.Ui.Targeting.TargetUi.ComputeLead(MyEntity target, Vector3D targetPos, Single& maxLeadLength, Vector3D& fullAveragePos)
at WeaponCore.Data.Scripts.CoreSystems.Ui.Targeting.TargetUi.DrawActiveLeads()
at WeaponCore.Data.Scripts.CoreSystems.Ui.Targeting.TargetUi.DrawTargetUi()
at CoreSystems.Session.Draw()
at Sandbox.Game.World.MySession.DrawSync()
at Sandbox.Game.Gui.MyGuiScreenGamePlay.Draw()
at Sandbox.Graphics.GUI.MyScreenManager.DrawScreens(MyGuiScreenBase screenFade)
at Sandbox.Graphics.GUI.MyScreenManager.Draw()
at Sandbox.Graphics.GUI.MyDX9Gui.Draw()
at Sandbox.Graphics.GUI.MyGuiSandbox.Draw()
at Sandbox.MySandboxGame.PrepareForDraw()
at Sandbox.Engine.Platform.Game.UpdateInternal()
at Sandbox.Engine.Platform.Game.RunSingleFrame()
at Sandbox.Engine.Platform.FixedLoop.<>c__DisplayClass11_0.<Run>b__0()
at Sandbox.Engine.Platform.GenericLoop.Run(VoidAction tickCallback)
at Sandbox.Engine.Platform.Game.RunLoop()
at Sandbox.MySandboxGame.Run(Boolean customRenderLoop, Action disposeSplashScreen)
at SpaceEngineers.MyProgram.Main(String[] args)
Any clue to avoid that ?
when u lock and use weapons in normal game nothing crashes, hence error comes from your mods, not keens job dude
when u lock and use weapons in normal game nothing crashes, hence error comes from your mods, not keens job dude
Replies have been locked on this page!