0 downloads Unlisted

The orbit code spews a bunch of error (included below). It appears to be pretty reproducible. Not sure if anything actually breaks.

Notes:
1) This is the stock SimpeBeast, nothing fancy.
2) It doesn't seem to happen when map view isn't open
3) I'm running with fast forward 10x, not sure if that impacts anything.

Repro:
1) Lock heading, set throttle to full and lift off.
2) Fast forward
3) Enter map view
4) Burn all three stages until out of fuel with each.
5) Before the 3rd stage of engines finishes burning, you should notice the errors in the log.

Errors:

(frame: 29802) - The true anomaly provided (8.6490215545207) is not valid for the given eccentricity: cannot convert nu to ea. Max nu for eccentricity (13.8924231202049) is 1.64284031591858
UnityEngine.Debug:LogError (object)
ModApi.Utilities/Assert:LogAssert (string,object[]) (at Assets/ModTools/ModApi/Utilities.Assert.cs:37)
Assets.Scripts.Flight.Sim.OrbitMath:GetEccentricAnomalyFromTrueAnomaly (double,double) (at Assets/Scripts/Flight/Sim/OrbitMath.cs:645)
Assets.Scripts.Flight.Sim.OrbitMath:GetEaIterators (ModApi.Flight.Sim.IOrbit,double,double,double&,double&) (at Assets/Scripts/Flight/Sim/OrbitMath.cs:509)
Assets.Scripts.Flight.Sim.OrbitMath:GetPoints (ModApi.Flight.Sim.IOrbit,double,double,double,int,ModApi.Flight.Sim.IOrbitPointSet) (at Assets/Scripts/Flight/Sim/OrbitMath.cs:1002)
Assets.Scripts.Flight.MapView.Orbits.MapOrbitLine:UpdateLine (Assets.Scripts.Flight.MapView.Orbits.MapOrbitLine,Assets.Scripts.Flight.MapView.Interfaces.IDrawModeProvider,Assets.Scripts.Flight.MapView.Orbits.DrawModes.DrawModeReferenceInfo&,ModApi.Flight.Sim.IOrbitPointSet&,Assets.Scripts.Flight.MapView.Interfaces.IMapViewCoordinateConverter,Assets.Scripts.Flight.MapView.Interfaces.IObjectContainerProvider,System.Collections.Generic.List1<UnityEngine.Vector4d>&,UnityEngine.Renderer&) (at Assets/Scripts/Flight/MapView/Orbits/MapOrbitLine.cs:797)
Assets.Scripts.Flight.MapView.Orbits.MapOrbitLine:UpdateLine (bool) (at Assets/Scripts/Flight/MapView/Orbits/MapOrbitLine.cs:1776)
Assets.Scripts.Flight.MapView.Orbits.MapOrbitLine:UpdateLine () (at Assets/Scripts/Flight/MapView/Orbits/MapOrbitLine.cs:1075)
Assets.Scripts.Flight.MapView.Orbits.Chain.OrbitChainNodeScript:OnAfterNodeUpdated (ModApi.Flight.Sim.IOrbit,bool) (at Assets/Scripts/Flight/MapView/Orbits/Chain/OrbitChainNodeScript.cs:710)
Assets.Scripts.Flight.MapView.Orbits.Chain.OrbitChainNodeScript:SendPreviousNodeOrbitChanged (ModApi.Flight.Sim.IOrbit) (at Assets/Scripts/Flight/MapView/Orbits/Chain/OrbitChainNodeScript.cs:640)
Assets.Scripts.Flight.MapView.Items.MapCraft:UpdateChainFromCraft () (at Assets/Scripts/Flight/MapView/Items/MapCraft.cs:716)
Assets.Scripts.Flight.MapView.Items.MapCraft:OnBeforeCameraPositioned () (at Assets/Scripts/Flight/MapView/Items/MapCraft.cs:581)
Assets.Scripts.Flight.MapView.Items.MapPlayerCraft:OnBeforeCameraPositioned () (at Assets/Scripts/Flight/MapView/Items/MapPlayerCraft.cs:210)
Assets.Scripts.Flight.MapView.MapViewScript/<>c:<UpdateMapItems>b__157_0 (Assets.Scripts.Flight.MapView.Items.MapItem) (at Assets/Scripts/Flight/MapView/MapViewScript.cs:1401)
Assets.Scripts.Flight.MapView.Items.MapItemManager:Assets.Scripts.Flight.MapView.Interfaces.IItemRegistry.PerformMapItemAction (System.Action
1<Assets.Scripts.Flight.MapView.Items.MapItem>) (at Assets/Scripts/Flight/MapView/Items/MapItemManager.cs:345)
Assets.Scripts.Flight.MapView.MapViewScript:UpdateMapItems () (at Assets/Scripts/Flight/MapView/MapViewScript.cs:1401)
Assets.Scripts.Flight.MapView.MapViewScript:LateUpdate () (at Assets/Scripts/Flight/MapView/MapViewScript.cs:1234)

(frame: 29802) - The eccentric anomaly provided (NaN) is not valid for the given eccentricity (13.8924231202049): cannot convert ea to ma.
UnityEngine.Debug:LogError (object)
ModApi.Utilities/Assert:LogAssert (string,object[]) (at Assets/ModTools/ModApi/Utilities.Assert.cs:37)
Assets.Scripts.Flight.Sim.OrbitMath:GetMeanAnomalyFromEccentricAnomaly (double,double) (at Assets/Scripts/Flight/Sim/OrbitMath.cs:809)
Assets.Scripts.Flight.Sim.OrbitMath:GetPointAtEccentricAnomaly (ModApi.Flight.Sim.IOrbit,double) (at Assets/Scripts/Flight/Sim/OrbitMath.cs:886)
Assets.Scripts.Flight.Sim.Orbital.OrbitIterator:TryGetNext (ModApi.Flight.Sim.IOrbitPoint&) (at Assets/Scripts/Flight/Sim/Orbital/OrbitIterator.cs:191)
Assets.Scripts.Flight.Sim.OrbitMath:GetPoints (ModApi.Flight.Sim.IOrbit,double,double,double,int,ModApi.Flight.Sim.IOrbitPointSet) (at Assets/Scripts/Flight/Sim/OrbitMath.cs:1005)
Assets.Scripts.Flight.MapView.Orbits.MapOrbitLine:UpdateLine (Assets.Scripts.Flight.MapView.Orbits.MapOrbitLine,Assets.Scripts.Flight.MapView.Interfaces.IDrawModeProvider,Assets.Scripts.Flight.MapView.Orbits.DrawModes.DrawModeReferenceInfo&,ModApi.Flight.Sim.IOrbitPointSet&,Assets.Scripts.Flight.MapView.Interfaces.IMapViewCoordinateConverter,Assets.Scripts.Flight.MapView.Interfaces.IObjectContainerProvider,System.Collections.Generic.List1&lt;UnityEngine.Vector4d>&amp;,UnityEngine.Renderer&amp;) (at Assets/Scripts/Flight/MapView/Orbits/MapOrbitLine.cs:797)
Assets.Scripts.Flight.MapView.Orbits.MapOrbitLine:UpdateLine (bool) (at Assets/Scripts/Flight/MapView/Orbits/MapOrbitLine.cs:1776)
Assets.Scripts.Flight.MapView.Orbits.MapOrbitLine:UpdateLine () (at Assets/Scripts/Flight/MapView/Orbits/MapOrbitLine.cs:1075)
Assets.Scripts.Flight.MapView.Orbits.Chain.OrbitChainNodeScript:OnAfterNodeUpdated (ModApi.Flight.Sim.IOrbit,bool) (at Assets/Scripts/Flight/MapView/Orbits/Chain/OrbitChainNodeScript.cs:710)
Assets.Scripts.Flight.MapView.Orbits.Chain.OrbitChainNodeScript:SendPreviousNodeOrbitChanged (ModApi.Flight.Sim.IOrbit) (at Assets/Scripts/Flight/MapView/Orbits/Chain/OrbitChainNodeScript.cs:640)
Assets.Scripts.Flight.MapView.Items.MapCraft:UpdateChainFromCraft () (at Assets/Scripts/Flight/MapView/Items/MapCraft.cs:716)
Assets.Scripts.Flight.MapView.Items.MapCraft:OnBeforeCameraPositioned () (at Assets/Scripts/Flight/MapView/Items/MapCraft.cs:581)
Assets.Scripts.Flight.MapView.Items.MapPlayerCraft:OnBeforeCameraPositioned () (at Assets/Scripts/Flight/MapView/Items/MapPlayerCraft.cs:210)
Assets.Scripts.Flight.MapView.MapViewScript/&lt;>c:&lt;UpdateMapItems>b__157_0 (Assets.Scripts.Flight.MapView.Items.MapItem) (at Assets/Scripts/Flight/MapView/MapViewScript.cs:1401)
Assets.Scripts.Flight.MapView.Items.MapItemManager:Assets.Scripts.Flight.MapView.Interfaces.IItemRegistry.PerformMapItemAction (System.Action
1<Assets.Scripts.Flight.MapView.Items.MapItem>) (at Assets/Scripts/Flight/MapView/Items/MapItemManager.cs:345)
Assets.Scripts.Flight.MapView.MapViewScript:UpdateMapItems () (at Assets/Scripts/Flight/MapView/MapViewScript.cs:1401)
Assets.Scripts.Flight.MapView.MapViewScript:LateUpdate () (at Assets/Scripts/Flight/MapView/MapViewScript.cs:1234)

(frame: 29802) - Orbit Point's Time is NaN
UnityEngine.Debug:LogError (object)
ModApi.Utilities/Assert:LogAssert (string,object[]) (at Assets/ModTools/ModApi/Utilities.Assert.cs:37)
Assets.Scripts.Flight.Sim.OrbitMath:GetPointAtEccentricAnomaly (ModApi.Flight.Sim.IOrbit,double) (at Assets/Scripts/Flight/Sim/OrbitMath.cs:893)
Assets.Scripts.Flight.Sim.Orbital.OrbitIterator:TryGetNext (ModApi.Flight.Sim.IOrbitPoint&) (at Assets/Scripts/Flight/Sim/Orbital/OrbitIterator.cs:191)
Assets.Scripts.Flight.Sim.OrbitMath:GetPoints (ModApi.Flight.Sim.IOrbit,double,double,double,int,ModApi.Flight.Sim.IOrbitPointSet) (at Assets/Scripts/Flight/Sim/OrbitMath.cs:1005)
Assets.Scripts.Flight.MapView.Orbits.MapOrbitLine:UpdateLine (Assets.Scripts.Flight.MapView.Orbits.MapOrbitLine,Assets.Scripts.Flight.MapView.Interfaces.IDrawModeProvider,Assets.Scripts.Flight.MapView.Orbits.DrawModes.DrawModeReferenceInfo&,ModApi.Flight.Sim.IOrbitPointSet&,Assets.Scripts.Flight.MapView.Interfaces.IMapViewCoordinateConverter,Assets.Scripts.Flight.MapView.Interfaces.IObjectContainerProvider,System.Collections.Generic.List1&lt;UnityEngine.Vector4d>&amp;,UnityEngine.Renderer&amp;) (at Assets/Scripts/Flight/MapView/Orbits/MapOrbitLine.cs:797)
Assets.Scripts.Flight.MapView.Orbits.MapOrbitLine:UpdateLine (bool) (at Assets/Scripts/Flight/MapView/Orbits/MapOrbitLine.cs:1776)
Assets.Scripts.Flight.MapView.Orbits.MapOrbitLine:UpdateLine () (at Assets/Scripts/Flight/MapView/Orbits/MapOrbitLine.cs:1075)
Assets.Scripts.Flight.MapView.Orbits.Chain.OrbitChainNodeScript:OnAfterNodeUpdated (ModApi.Flight.Sim.IOrbit,bool) (at Assets/Scripts/Flight/MapView/Orbits/Chain/OrbitChainNodeScript.cs:710)
Assets.Scripts.Flight.MapView.Orbits.Chain.OrbitChainNodeScript:SendPreviousNodeOrbitChanged (ModApi.Flight.Sim.IOrbit) (at Assets/Scripts/Flight/MapView/Orbits/Chain/OrbitChainNodeScript.cs:640)
Assets.Scripts.Flight.MapView.Items.MapCraft:UpdateChainFromCraft () (at Assets/Scripts/Flight/MapView/Items/MapCraft.cs:716)
Assets.Scripts.Flight.MapView.Items.MapCraft:OnBeforeCameraPositioned () (at Assets/Scripts/Flight/MapView/Items/MapCraft.cs:581)
Assets.Scripts.Flight.MapView.Items.MapPlayerCraft:OnBeforeCameraPositioned () (at Assets/Scripts/Flight/MapView/Items/MapPlayerCraft.cs:210)
Assets.Scripts.Flight.MapView.MapViewScript/&lt;>c:&lt;UpdateMapItems>b__157_0 (Assets.Scripts.Flight.MapView.Items.MapItem) (at Assets/Scripts/Flight/MapView/MapViewScript.cs:1401)
Assets.Scripts.Flight.MapView.Items.MapItemManager:Assets.Scripts.Flight.MapView.Interfaces.IItemRegistry.PerformMapItemAction (System.Action
1<Assets.Scripts.Flight.MapView.Items.MapItem>) (at Assets/Scripts/Flight/MapView/Items/MapItemManager.cs:345)
Assets.Scripts.Flight.MapView.MapViewScript:UpdateMapItems () (at Assets/Scripts/Flight/MapView/MapViewScript.cs:1401)
Assets.Scripts.Flight.MapView.MapViewScript:LateUpdate () (at Assets/Scripts/Flight/MapView/MapViewScript.cs:1234)

GENERAL INFO

  • Created On: Windows
  • Game Version: 0.9.999.99999
  • Planetary System: Juno System
  • Planets: 20
  • Game Time: 0.0 days

CRAFTS

Name Location Part Count Mass Altitude Velocity
- SimpleHeavy Luna 104 3.29E+5kg 244 km 784.0 m/s
SimpleBeast Droo 155 2.13E+6kg Ground 0.0 m/s

Upvotes Disabled

This post is unlisted and upvoting is disabled.