Skip to content

realgasgiants api updated and broke shit again for dynamic asteroids #243

@StarCoreIssueBot

Description

@StarCoreIssueBot
2024-11-05 00:32:00.176 - Thread:   1 ->  RGG ReadFromSaveFile CONFIG : ERROR: Invalid wire-type (String); this usually means you have over-written a file without truncating or setting the length; see https://stackoverflow.com/q/2152978/23354 :    at ProtoBuf.ProtoReader.ReadInt32(State& state)
   at proto_1880(ProtoReader , State& , Object )
   at ProtoBuf.Meta.TypeModel.DeserializeAny(ProtoReader reader, State& state, Type type, Object value, Boolean noAutoCreate)
   at ProtoBuf.Meta.TypeModel.Deserialize(Stream source, Object value, Type type, SerializationContext context)
   at ProtoBuf.Serializer.Deserialize[T](Stream source)
   at Sandbox.ModAPI.MyAPIUtilities.VRage.Game.ModAPI.IMyUtilities.SerializeFromBinary[T](Byte[] data)
   at RealGasGiants.RealGasGiantsCore.LoadData() : 
2024-11-05 00:32:00.193 - Thread:   1 ->  Error: Error during loading session:System.InvalidCastException: Unable to cast object of type 'System.Func`14[Sandbox.Game.Entities.MyPlanet,System.Boolean,System.String,VRageMath.Vector3D,VRageMath.Vector3I,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Boolean,System.Boolean,System.Boolean]' to type 'System.Func`13[Sandbox.Game.Entities.MyPlanet,System.Boolean,System.String,VRageMath.Vector3D,VRageMath.Vector3I,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Boolean,System.Boolean]'.
   at RealGasGiants.RealGasGiantsApi.ApiLoad(IReadOnlyDictionary`2 delegates)
   at RealGasGiants.RealGasGiantsApi.HandleMessage(Object o)
   at Sandbox.ModAPI.MyAPIUtilities.SendModMessage(Int64 id, Object payload)
   at RealGasGiants.RealGasGiantsCore.LoadData()
   at Sandbox.Game.World.MySession.LoadComponent_Patch2(MySession this, MySessionComponentBase component)
   at Sandbox.Game.World.MySession.LoadDataComponents()
   at Sandbox.Game.World.MySession.PrepareBaseSession(MyObjectBuilder_Checkpoint checkpoint, MyObjectBuilder_Sector sector)
   at Sandbox.Game.World.MySession.Load_Patch1(String sessionPath, MyObjectBuilder_Checkpoint checkpoint, UInt64 checkpointSizeInBytes, Boolean saveLastStates, Boolean allowXml)
2024-11-05 00:32:00.193 - Thread:   1 ->  ERROR: Loading screen failed
2024-11-05 00:32:00.195 - Thread:   1 ->  Exception occurred: System.InvalidCastException: Unable to cast object of type 'System.Func`14[Sandbox.Game.Entities.MyPlanet,System.Boolean,System.String,VRageMath.Vector3D,VRageMath.Vector3I,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Boolean,System.Boolean,System.Boolean]' to type 'System.Func`13[Sandbox.Game.Entities.MyPlanet,System.Boolean,System.String,VRageMath.Vector3D,VRageMath.Vector3I,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Boolean,System.Boolean]'.
   at RealGasGiants.RealGasGiantsApi.ApiLoad(IReadOnlyDictionary`2 delegates)
   at RealGasGiants.RealGasGiantsApi.HandleMessage(Object o)
   at Sandbox.ModAPI.MyAPIUtilities.SendModMessage(Int64 id, Object payload)
   at RealGasGiants.RealGasGiantsCore.LoadData()
   at Sandbox.Game.World.MySession.LoadComponent_Patch2(MySession this, MySessionComponentBase component)
   at Sandbox.Game.World.MySession.LoadDataComponents()
   at Sandbox.Game.World.MySession.PrepareBaseSession(MyObjectBuilder_Checkpoint checkpoint, MyObjectBuilder_Sector sector)
   at Sandbox.Game.World.MySession.Load_Patch1(String sessionPath, MyObjectBuilder_Checkpoint checkpoint, UInt64 checkpointSizeInBytes, Boolean saveLastStates, Boolean allowXml)
   at Sandbox.Game.World.MySessionLoader.<>c__DisplayClass18_0.<LoadSingleplayerSessionInternal>b__7()
   at System.DelegateExtensions.InvokeIfNotNull(Action handler)
   at Sandbox.Game.Gui.MyGuiScreenLoading.RunLoad()

Submitted by: invalid

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions