DunaManiac Posted May 27, 2020 Share Posted May 27, 2020 Hi all, my planet refuses to load when I start the game, using version 1.8.1. @Kopernicus:AFTER[Kopernicus] { Body { name = Hythara Template { name = Jool } Properties { displayName = Hythara^N description = tbd radius = 1817612.04706 geeASL = 1.25 rotates = true rotationPeriod = 43200 tidallyLocked = false initialRotation = 0 isHomeWorld = false timewarpAltitudeLimits = 796000 1000000 2000000 4000000 6000000 10000000 11000000 12000000 ScienceValues { landedDataValue = 1 splashedDataValue = 1 flyingLowDataValue = 30 flyingHighDataValue = 25 inSpaceLowDataValue = 20 inSpaceHighDataValue = 10 recoveryValue = 15 flyingAltitudeThreshold = 30000 spaceAltitudeThreshold = 1000000 } } Orbit { referenceBody = Sun color = 0,0.361,0.49,1 inclination = 20 eccentricity = 0.5 semiMajorAxis = 137547120640 longitudeOfAscendingNode = 30 argumentOfPeriapsis = 150 meanAnomalyAtEpoch = 0 epoch = 0 } ScaledVersion { type = Atmospheric fadeStart = 0 fadeEnd = 0 Material { texture = PlanetXpack/Textures/PluginData/Hythara_Color.png color = 0.2, 0.3, 0.65, 1 specColor = 0.15, 0.2, 0.5, 1 shininess = 0.215 rimPower = 2.25 rimBlend = 0.875 Gradient { 0.0 = 0.012, 0.573, 0.988, 1 0.25 = 0.012, 0.392, 0.741, 1 0.5 = 0.02, 0.086, 0.302, 1 0.75 = 0.035, 0.035, 0.741, 1 1 = 0.047, 0.361, 0.682, 1 } } } Rings { Ring { innerRadius = 1500 outerRadius = 2760 texture = PlanetXpack/Textures/PluginData/Hythara_Rings.png lockRotation = true color = 1,1,1,1 tiles = 0 unlit = false useNewShader = true penumbraMultiplier = true angle = 60 } } Atmosphere { ambientColor = 0, 0.125, 0.949, 1 altitude = 796000 enabled = true oxygen = true albedo = 0.4 adiabaticIndex = 1.45 atmosphereMolarMass = 0.00253 temperatureSeaLevel = 369 staticPressureASL = 1215.9 pressureCurveIsNormalized = false temperatureCurve { key = 0 369 0 -6.36364E-04 key = 88000 313 -6.36364E-04 -3.82114E-04 key = 211000 266 -3.82114E-04 -4.34783E-05 key = 326000 261 -4.34783E-05 2.74510E-04 key = 632000 345 2.74510E-04 -4.95050E-06 key = 796000 360 -4.95050E-06 0 } temperatureCurveIsNormalized = false temperatureSunMultCurve = true temperatureSunMultCurve { key = 0 0 0 0 key = 211000 0 0.00000E+00 8.69565E-06 key = 326000 1 8.69565E-06 1.46199E-06 key = 796000 2 1.46199E-06 0 } temperatureLatitudeBiasCurve { key = 0 2.12 0 0 key = 38 0 -0.1075 -0.1075 key = 90 -7.88 -0.1745 0 } temperatureLatitudeSunMultCurve { key = 0 11 0 0 key = 38 9.3 -0.086 -0.086 key = 90 3 -0.1396 0 } temperatureAxialSunBiasCurve { key = 0 21.83 -0.5244 -0.5244 key = 36 0 -0.6482 -0.6482 key = 126 -37.14 0 0 key = 216 0 0.6482 0.6482 key = 306 37.14 0 0 key = 360 21.83 -0.5244 -0.5244 } temperatureAxialSunMultCurve { key = 0 0 0 0 key = 38 0.5 0.02 0.02 key = 90 1 0 0 } temperatureEccentricityBiasCurve { key = 0 77.15 0 -154.3 key = 1 -77.15 -154.3 0 } pressureCurve { key = 0 1.21590E+03 0 -1.53690E-02 key = 48000 6.46775E+02 -8.85573E-03 -8.85573E-03 key = 96000 3.25687E+02 -4.83763E-03 -4.83763E-03 key = 144000 1.56564E+02 -2.45568E-03 -2.45568E-03 key = 192000 7.21307E+01 -1.19944E-03 -1.19944E-03 key = 240000 3.19922E+01 -5.43150E-04 -5.43150E-04 key = 288000 1.41971E+01 -2.39606E-04 -2.39606E-04 key = 336000 6.33614E+00 -1.05180E-04 -1.05180E-04 key = 384000 2.91945E+00 -4.58460E-05 -4.58460E-05 key = 432000 1.40146E+00 -2.08677E-05 -2.08677E-05 key = 480000 6.98311E-01 -9.87999E-06 -9.87999E-06 key = 528000 3.60003E-01 -4.84915E-06 -4.84915E-06 key = 576000 1.91479E-01 -2.45982E-06 -2.45982E-06 key = 624000 1.04811E-01 -1.28624E-06 -1.28624E-06 key = 672000 5.84690E-02 -7.08298E-07 -7.08298E-07 key = 720000 3.27519E-02 -3.94168E-07 -3.94168E-07 key = 796000 0 0 0 } } } } Spoiler Exceptions in the Hythara.body #1 Exception Was Recorded: Exception has been thrown by the target of an invocation. at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 at Kopernicus.ConfigParser.BuiltinTypeParsers.NumericParser`1[T].SetFromString (System.String s) [0x00000] in <698cce273aaa41f09ce80d0801f868a2>:0 at Kopernicus.ConfigParser.Parser.ProcessValue (System.Type targetType, System.String nodeValue) [0x0002e] in <698cce273aaa41f09ce80d0801f868a2>:0 at Kopernicus.ConfigParser.Parser.LoadObjectMemberFromConfigurationNode (System.Reflection.MemberInfo member, System.Object o, ConfigNode node, System.String configName, System.Boolean getChildren) [0x0022d] in <698cce273aaa41f09ce80d0801f868a2>:0 at Kopernicus.ConfigParser.Parser.LoadObjectFromConfigurationNode (System.Object o, ConfigNode node, System.String configName, System.Boolean getChildren) [0x0015d] in <698cce273aaa41f09ce80d0801f868a2>:0 at Kopernicus.ConfigParser.Parser.LoadCollectionMemberFromConfigurationNode (System.Reflection.MemberInfo member, System.Object o, ConfigNode node, System.String configName, System.Boolean getChildren) [0x00674] in <698cce273aaa41f09ce80d0801f868a2>:0 at Kopernicus.ConfigParser.Parser.LoadObjectFromConfigurationNode (System.Object o, ConfigNode node, System.String configName, System.Boolean getChildren) [0x0014b] in <698cce273aaa41f09ce80d0801f868a2>:0 at Kopernicus.Configuration.Loader.Kopernicus.ConfigParser.Interfaces.IParserEventSubscriber.PostApply (ConfigNode node) [0x000d7] in <0882401b48d84227ad9c2bbcf4ce8401>:0 #2 [LOG 19:52:08]: Inner Exception Was Recorded: Input string was not in a correct format. at System.Number.ParseSingle (System.String value, System.Globalization.NumberStyles options, System.Globalization.NumberFormatInfo numfmt) [0x00083] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 at System.Single.Parse (System.String s, System.Globalization.NumberStyles style, System.Globalization.NumberFormatInfo info) [0x00000] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 at System.Single.Parse (System.String s) [0x0000b] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 Spoiler Exception in the KSP.log [EXC 19:52:08.067] Exception: Failed to load Body: Hythara Kopernicus.Configuration.Loader.Kopernicus.ConfigParser.Interfaces.IParserEventSubscriber.PostApply (ConfigNode node) (at <0882401b48d84227ad9c2bbcf4ce8401>:0) Kopernicus.ConfigParser.Parser.LoadObjectFromConfigurationNode (System.Object o, ConfigNode node, System.String configName, System.Boolean getChildren) (at <698cce273aaa41f09ce80d0801f868a2>:0) Kopernicus.ConfigParser.Parser.CreateObjectFromConfigNode[T] (ConfigNode node, System.String configName, System.Boolean getChildren) (at <698cce273aaa41f09ce80d0801f868a2>:0) Kopernicus.Injector.Awake () (at <0882401b48d84227ad9c2bbcf4ce8401>:0) UnityEngine.DebugLogHandler:LogException(Exception, Object) ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object) UnityEngine.Debug:LogException(Exception) Kopernicus.Injector:Awake() UnityEngine.GameObject:AddComponent(Type) AddonLoader:StartAddon(LoadedAssembly, Type, KSPAddon, Startup) AddonLoader:StartAddons(Startup) AddonLoader:OnLevelLoaded(GameScenes) AddonLoader:OnSceneLoaded(Scene, LoadSceneMode) UnityEngine.SceneManagement.SceneManager:Internal_SceneLoaded(Scene, LoadSceneMode) Link to comment Share on other sites More sharing options...
DunaManiac Posted May 27, 2020 Author Share Posted May 27, 2020 Never mind, I fixed the problem, turns out it was a problem with the Ring code. Can @Vanamonde please lock this topic? Link to comment Share on other sites More sharing options...
Vanamonde Posted May 27, 2020 Share Posted May 27, 2020 10 hours ago, DunaManiac said: Can @Vanamonde please lock this topic? He can, apparently. Link to comment Share on other sites More sharing options...
Recommended Posts